diff options
| author | Tengda Wu <wutengda@huaweicloud.com> | 2026-10-20 13:44:59 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-22 17:17:01 -0300 |
| commit | 68cedb761d72712e46bd226177f33d19738c5757 (patch) | |
| tree | a5edc0001ae08e3140924976efe2e52f2e731aee /scripts/Makefile.thinlto | |
| parent | 059f12f8cd29adcf59973a8ea4ca96ea4873fcf0 (diff) | |
| download | linux-68cedb761d72712e46bd226177f33d19738c5757.tar.gz linux-68cedb761d72712e46bd226177f33d19738c5757.zip | |
perf annotate-data: Add arch_get_reg_offset helper
Add a helper to compute the effective offset from a base register
for instruction operands. Currently handles arm64 addressing modes
including post-indexed, single-register, SIB-style indexed with
shift/extension, and constant-offset register pairs.
Fallback to instruction's raw offset for other architectures.
Reviewed-by: Ian Rogers <irogers@google.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tengda Wu <wutengda@huaweicloud.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
