Commit 8082d4a4 authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #398 from navytux/fix

-D__BPF_TRACING__
parents 90e5443a e0bf01d4
...@@ -103,6 +103,7 @@ std::vector<std::string> get_kernel_cflags( ...@@ -103,6 +103,7 @@ std::vector<std::string> get_kernel_cflags(
cflags.push_back("-include"); cflags.push_back("-include");
cflags.push_back(kdir + "/include/linux/kconfig.h"); cflags.push_back(kdir + "/include/linux/kconfig.h");
cflags.push_back("-D__KERNEL__"); cflags.push_back("-D__KERNEL__");
cflags.push_back("-D__BPF_TRACING__");
cflags.push_back("-D__HAVE_BUILTIN_BSWAP16__"); cflags.push_back("-D__HAVE_BUILTIN_BSWAP16__");
cflags.push_back("-D__HAVE_BUILTIN_BSWAP32__"); cflags.push_back("-D__HAVE_BUILTIN_BSWAP32__");
cflags.push_back("-D__HAVE_BUILTIN_BSWAP64__"); cflags.push_back("-D__HAVE_BUILTIN_BSWAP64__");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment