summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorWang Nan2015-07-14 08:40:02 +0200
committerArnaldo Carvalho de Melo2015-08-07 15:57:16 +0200
commitd325d7887b960627dc686d70d07682e18383f9c4 (patch)
treeb0ac46a5e263ed9e1af09adf7853b6262bcfdc38 /tools/perf/util/annotate.h
parentperf tools: Call clang to compile C source to object code (diff)
downloadkernel-qcow2-linux-d325d7887b960627dc686d70d07682e18383f9c4.tar.gz
kernel-qcow2-linux-d325d7887b960627dc686d70d07682e18383f9c4.tar.xz
kernel-qcow2-linux-d325d7887b960627dc686d70d07682e18383f9c4.zip
perf tools: Auto detecting kernel build directory
This patch detects kernel build directory by checking the existence of include/generated/autoconf.h. clang working directory is changed to kbuild directory if it is found, to help user use relative include path. Following patch will detect kernel include directory, which contains relative include patch so this workdir changing is needed. Users are allowed to set 'kbuild-dir = ""' manually to disable this checking. Signed-off-by: Wang Nan <wangnan0@huawei.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Cc: Brendan Gregg <brendan.d.gregg@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David Ahern <dsahern@gmail.com> Cc: He Kuang <hekuang@huawei.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kaixu Xia <xiakaixu@huawei.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/n/tip-owyfwfbemrjn0tlj6tgk2nf5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions