perf arm: Fix off-by-one directory path.
Ian Rogers
reviewerPATCH 1/1 perf arm: Fix off-by-one directory path.
Relative path include works in the regular build due to -I paths but may fail in other situations.
Fixes 83869019c74c ("perf arch: Support register names from all archs")
Signed-off-by Ian Rogers <[email protected]>
--- tools/perf/util/arm64-frame-pointer-unwind-support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/arm64-frame-pointer-unwind-support.c +1 -1
@@ -6,7 +6,7 @@#include "unwind.h" #define perf_event_arm_regs perf_event_arm64_regs -#include "../arch/arm64/include/uapi/asm/perf_regs.h" +#include "../../arch/arm64/include/uapi/asm/perf_regs.h" #undef perf_event_arm_regsstruct entries {
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog
Hi Ian,
I think there's another include in "utils/intel-pt.c" that may need the same treatment.
Quoted 5 lines · Ian Rogers
Relative path include works in the regular build due to -I paths but may fail in other situations.
Fixes 83869019c74c ("perf arch: Support register names from all archs")Signed-off-by Ian Rogers <[email protected]>
Reviewed-by German Gomez <[email protected]>
Thanks,
German
Quoted 17 lines
--- tools/perf/util/arm64-frame-pointer-unwind-support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/arm64-frame-pointer-unwind-support.c +1
-1@@ -6,7 +6,7 @@#include "unwind.h" #define perf_event_arm_regs perf_event_arm64_regs -#include "../arch/arm64/include/uapi/asm/perf_regs.h" +#include "../../arch/arm64/include/uapi/asm/perf_regs.h" #undef perf_event_arm_regsstruct entries {
Em Fri, Jan 14, 2022 at 09:26:29AM +0000, German Gomez escreveu:
Quoted 11 lines
Hi Ian,
I think there's another include in "
utils/intel-pt.c" that may need the same treatment.Quoted 5 lines · Ian Rogers
Relative path include works in the regular build due to -I paths but may fail in other situations.
Fixes 83869019c74c ("perf arch: Support register names from all archs")Signed-off-by Ian Rogers <[email protected]>Reviewed-by German Gomez <[email protected]>
Thanks, applied.
- Arnaldo
Quoted 19 lines
Thanks,
GermanQuoted 17 lines
--- tools/perf/util/arm64-frame-pointer-unwind-support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/util/arm64-frame-pointer-unwind-support.c +1
-1@@ -6,7 +6,7 @@#include "unwind.h" #define perf_event_arm_regs perf_event_arm64_regs -#include "../arch/arm64/include/uapi/asm/perf_regs.h" +#include "../../arch/arm64/include/uapi/asm/perf_regs.h" #undef perf_event_arm_regsstruct entries {
Signature · 1 line
- Arnaldo