Skip to content

Commit 46f57d2

Browse files
captain5050acmel
authored andcommitted
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: 8386901 ("perf arch: Support register names from all archs") Reviewed-by: German Gomez <german.gomez@arm.com> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexandre Truong <alexandre.truong@arm.com> Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220114064822.1806019-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent e652ab6 commit 46f57d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/util/arm64-frame-pointer-unwind-support.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "unwind.h"
77

88
#define perf_event_arm_regs perf_event_arm64_regs
9-
#include "../arch/arm64/include/uapi/asm/perf_regs.h"
9+
#include "../../arch/arm64/include/uapi/asm/perf_regs.h"
1010
#undef perf_event_arm_regs
1111

1212
struct entries {

0 commit comments

Comments
 (0)