aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShile Zhang <[email protected]>2020-01-20 18:14:08 +0000
committerIngo Molnar <[email protected]>2020-01-22 06:54:57 +0000
commit8580bed7e751e6d4f17881e059daf3cb37ba4717 (patch)
tree9da66df32a88d7cefe01ea455832af5f46ece89f /tools/perf/scripts/python/stackcollapse.py
parentobjtool: Silence build output (diff)
downloadkernel-8580bed7e751e6d4f17881e059daf3cb37ba4717.tar.gz
kernel-8580bed7e751e6d4f17881e059daf3cb37ba4717.zip
objtool: Fix ARCH=x86_64 build error
Building objtool with ARCH=x86_64 fails with: $make ARCH=x86_64 -C tools/objtool ... CC arch/x86/decode.o arch/x86/decode.c:10:22: fatal error: asm/insn.h: No such file or directory #include <asm/insn.h> ^ compilation terminated. mv: cannot stat ‘arch/x86/.decode.o.tmp’: No such file or directory make[2]: *** [arch/x86/decode.o] Error 1 ... The root cause is that the command-line variable 'ARCH' cannot be overridden. It can be replaced by 'SRCARCH', which is defined in 'tools/scripts/Makefile.arch'. Signed-off-by: Shile Zhang <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Kamalesh Babulal <[email protected]> Link: https://lore.kernel.org/r/d5d11370ae116df6c653493acd300ec3d7f5e925.1579543924.git.jpoimboe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions