diff options
author | Pu Lehui <pulehui@huawei.com> | 2022-04-19 17:52:38 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-20 07:59:35 +0300 |
commit | 58ca8b0572cd3bbaac60d14d2b1b4f38b389ad93 (patch) | |
tree | 7c9bebe6a96932794df0de5848e56d5031b14e05 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5af25a410acb8d34acb11024d752f0ea3491decf (diff) | |
download | linux-58ca8b0572cd3bbaac60d14d2b1b4f38b389ad93.tar.xz |
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 <pulehui@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220419145238.482134-3-pulehui@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions