Skip to content

Commit 4a88c4e

Browse files
Leo Yanacmel
authored andcommitted
perf arm64: Add missing -I for tools/arch/arm64/include/ to find asm/sysreg.h when building arm_spe.h
This cures a current problem where tools/perf/util/arm-spe.c isn't finding a ARM64 specific asm header, so lets add it for now to make progress. Adding a .o specific rule seems clunky, lets try and find if this is really the right solution. Signed-off-by: Leo Yan <[email protected]> Reported-by: Suzuki K Poulose <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Will Deacon <[email protected]> Cc: James Morse <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 53e76d3 commit 4a88c4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/perf/util/Build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ CFLAGS_hweight.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ET
289289
CFLAGS_parse-events.o += -Wno-redundant-decls
290290
CFLAGS_expr.o += -Wno-redundant-decls
291291
CFLAGS_header.o += -include $(OUTPUT)PERF-VERSION-FILE
292+
CFLAGS_arm-spe.o += -I$(srctree)/tools/arch/arm64/include/
292293

293294
$(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE
294295
$(call rule_mkdir)

0 commit comments

Comments
 (0)