diff options
author | Pu Lehui <[email protected]> | 2022-04-19 22:52:38 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-04-19 21:59:35 -0700 |
commit | 58ca8b0572cd3bbaac60d14d2b1b4f38b389ad93 (patch) | |
tree | 7c9bebe6a96932794df0de5848e56d5031b14e05 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5af25a410acb8d34acb11024d752f0ea3491decf (diff) |
libbpf: Support riscv USDT argument parsing logic
Add riscv-specific USDT argument specification parsing logic.
riscv USDT argument format is shown below:
- Memory dereference case:
"size@off(reg)", e.g. "-8@-88(s0)"
- Constant value case:
"size@val", e.g. "4@5"
- Register read case:
"size@reg", e.g. "-8@a1"
s8 will be marked as poison while it's a reg of riscv, we need
to alias it in advance. Both RV32 and RV64 have been tested.
Signed-off-by: Pu Lehui <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions