aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm64/util/perf_regs.c
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2022-05-25 16:41:13 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-05-26 12:43:05 -0300
commitd511578b9d215e2ff27e10c1b9d5d414383018dc (patch)
treeb3c655e1ab3a11b847d2d47559d579be10240cdb /tools/perf/arch/arm64/util/perf_regs.c
parentperf unwind: Use dynamic register set for DWARF unwind (diff)
downloadlinux-dev-d511578b9d215e2ff27e10c1b9d5d414383018dc.tar.xz
linux-dev-d511578b9d215e2ff27e10c1b9d5d414383018dc.zip
perf unwind arm64: Decouple Libunwind register names from Perf
DWARF register numbers and real register numbers on aarch64 are equivalent. Remove the references to the register names from Libunwind so that new registers are supported without having to add build time feature checks for each new register. The unwinder won't ask for a register that it doesn't know about and Perf will already report an error for an unknown or unrecorded register in the perf_reg_value() function so extra validation isn't needed. After this change the new VG register can be read by libunwind. Reviewed-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: James Clark <james.clark@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: German Gomez <german.gomez@arm.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.garry@huawei.com> Cc: Mark Brown <broonie@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20220525154114.718321-5-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/arm64/util/perf_regs.c')
0 files changed, 0 insertions, 0 deletions