diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2022-02-09 05:17:40 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-02-09 08:16:14 +0300 |
commit | 5c101153bfd67387ba159b7864176217a40757da (patch) | |
tree | 1e9edc9628fbdcd16f5f1d2aeaae5e6d767c415b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f07f1503469b11b739892d50c836992ffbe026ee (diff) | |
download | linux-5c101153bfd67387ba159b7864176217a40757da.tar.xz |
libbpf: Fix riscv register names
riscv registers are accessed via struct user_regs_struct, not struct
pt_regs. The program counter member in this struct is called pc, not
epc. The frame pointer is called s0, not fp.
Fixes: 3cc31d794097 ("libbpf: Normalize PT_REGS_xxx() macro definitions")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220209021745.2215452-6-iii@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions