summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-25 10:32:46 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-01-25 21:12:37 +0300
commit5cd5548ff439b916cf72448109994394c2bf4b3c (patch)
treecf7edbe7a691111e86b5fcaea9f08ea64f3026cb /tools/perf/util/c++/clang.cpp
parent35b531a1e7fc30ac8c62e5ac1794eb1460da614e (diff)
downloadlinux-5cd5548ff439b916cf72448109994394c2bf4b3c.tar.xz
KVM: x86: fix TRACE_INCLUDE_PATH and remove -I. header search paths
The header search path -I. in kernel Makefiles is very suspicious; it allows the compiler to search for headers in the top of $(srctree), where obviously no header file exists. The reason of having -I. here is to make the incorrectly set TRACE_INCLUDE_PATH working. As the comment block in include/trace/define_trace.h says, TRACE_INCLUDE_PATH should be a relative path to the define_trace.h Fix the TRACE_INCLUDE_PATH, and remove the iffy include paths. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions