diff options
author | Wang Nan <[email protected]> | 2015-07-14 06:40:02 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-07 10:57:16 -0300 |
commit | d325d7887b960627dc686d70d07682e18383f9c4 (patch) | |
tree | b0ac46a5e263ed9e1af09adf7853b6262bcfdc38 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 4cea3a9cb30a962fa759fcb081fb83351113d9c4 (diff) |
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: David Ahern <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kaixu Xia <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions