Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf arm64: Fix off-by-one directory paths.

Relative path include works in the regular build due to -I paths but may
break in other situations.

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/20210416214113.552252-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Ian Rogers and committed by
Arnaldo Carvalho de Melo
b96da02b f89a82a8

+6 -6
+2 -2
tools/perf/arch/arm64/util/kvm-stat.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <errno.h> 3 3 #include <memory.h> 4 - #include "../../util/evsel.h" 5 - #include "../../util/kvm-stat.h" 4 + #include "../../../util/evsel.h" 5 + #include "../../../util/kvm-stat.h" 6 6 #include "arm64_exception_types.h" 7 7 #include "debug.h" 8 8
+2 -2
tools/perf/arch/arm64/util/pmu.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 - #include "../../util/cpumap.h" 4 - #include "../../util/pmu.h" 3 + #include "../../../util/cpumap.h" 4 + #include "../../../util/pmu.h" 5 5 6 6 struct pmu_events_map *pmu_events_map__find(void) 7 7 {
+2 -2
tools/perf/arch/arm64/util/unwind-libunwind.c
··· 4 4 #ifndef REMOTE_UNWIND_LIBUNWIND 5 5 #include <libunwind.h> 6 6 #include "perf_regs.h" 7 - #include "../../util/unwind.h" 7 + #include "../../../util/unwind.h" 8 8 #endif 9 - #include "../../util/debug.h" 9 + #include "../../../util/debug.h" 10 10 11 11 int LIBUNWIND__ARCH_REG_ID(int regnum) 12 12 {