aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/util/perf_regs.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2021-09-23 08:42:54 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-09-27 09:32:28 -0300
commitc6613bd4a57798ef0aefbcdb28d8c90d4c9cecd8 (patch)
treef866b330b906ba11d7af7f00d74df589c6fc425f /tools/perf/arch/arm/util/perf_regs.c
parentperf vendor events powerpc: Fix spelling mistake "icach" -> "icache" (diff)
downloadlinux-dev-c6613bd4a57798ef0aefbcdb28d8c90d4c9cecd8.tar.xz
linux-dev-c6613bd4a57798ef0aefbcdb28d8c90d4c9cecd8.zip
perf arm: Fix off-by-one directory paths.
Relative path include works in the regular build due to -I paths but may fail in other situations. v2. Rebase. Comments on v1 were that we should handle include paths differently and it is agreed that can be a sensible refactor but beyond the scope of this change. https://lore.kernel.org/lkml/20210504191227.793712-1-irogers@google.com/ Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: John Garry <john.garry@huawei.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Stephane Eranian <eranian@google.com> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Link: http://lore.kernel.org/lkml/20210923154254.737657-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/arm/util/perf_regs.c')
-rw-r--r--tools/perf/arch/arm/util/perf_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/arm/util/perf_regs.c b/tools/perf/arch/arm/util/perf_regs.c
index 2864e2e3776d..2833e101a7c6 100644
--- a/tools/perf/arch/arm/util/perf_regs.c
+++ b/tools/perf/arch/arm/util/perf_regs.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#include "../../util/perf_regs.h"
+#include "../../../util/perf_regs.h"
const struct sample_reg sample_reg_masks[] = {
SMPL_REG_END