Skip to content

Commit

Permalink
perf arm: Fix off-by-one directory path
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexandre Truong <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
captain5050 authored and acmel committed Jan 14, 2022
1 parent e652ab6 commit 46f57d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/util/arm64-frame-pointer-unwind-support.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_regs

struct entries {
Expand Down

0 comments on commit 46f57d2

Please sign in to comment.