perf arm: Fix off-by-one directory path
authorIan Rogers <irogers@google.com>
Fri, 14 Jan 2022 06:48:22 +0000 (22:48 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Jan 2022 14:36:03 +0000 (11:36 -0300)
commit46f57d2410150985f81da7cbbb5fdcda01d02ac2
tree329ede18bc819d6094db1eda045d02cdb04ddcc9
parente652ab64e5846d3fe5ac2c0405d55d79ecc52c36
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: 83869019c74cc2d0 ("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>
tools/perf/util/arm64-frame-pointer-unwind-support.c