Arnaldo Carvalho de Melo
1b16fffa38
perf llvm-utils: Add bpf include path to clang command line
We'll start putting headers for helpers to be used in eBPF proggies in
there:
# perf trace -v --no-syscalls -e empty.c |& grep "llvm compiling command : "
llvm compiling command : /usr/lib64/ccache/clang -D__KERNEL__ -D__NR_CPUS__=4 -DLINUX_VERSION_CODE=0x41100 -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/7/include -I/home/acme/git/linux/arch/x86/include -I./arch/x86/include/generated -I/home/acme/git/linux/include -I./include -I/home/acme/git/linux/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/home/acme/git/linux/include/uapi -I./include/generated/uapi -include /home/acme/git/linux/include/linux/kconfig.h -I/home/acme/lib/include/perf/bpf -Wno-unused-value -Wno-pointer-sign -working-directory /lib/modules/4.17.0-rc3-00034-gf4ef6a438cee/build -c /home/acme/bpf/empty.c -target bpf -O2 -o -
#
Notice the "-I/home/acme/lib/include/perf/bpf"
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-6xq94xro8xlb5s9urznh3f9k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-05-15 14:31:17 -03:00
..
2018-05-07 15:23:46 -03:00
2018-04-26 22:23:02 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-03-18 17:48:59 +01:00
2018-03-06 09:57:16 -08:00
2018-02-21 15:35:42 -08:00
2018-05-07 15:23:45 -03:00
2018-03-28 22:47:06 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2018-04-26 13:47:14 -03:00
2018-03-10 10:22:23 +01:00
2018-04-17 07:59:42 +02:00
2018-05-15 14:31:17 -03:00
2018-05-04 11:24:22 +02:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-05-10 17:28:02 -04:00
2018-03-27 09:51:23 +02:00
2018-03-22 13:08:20 +01:00
2018-03-20 03:17:37 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00