summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2024-08-31 04:19:31 +0000
committerAndrii Nakryiko <andrii@kernel.org>2024-09-04 17:05:30 -0700
commite4db2a821b6cff4bd59c0efabdbfdd84ac6005c1 (patch)
tree8b4d1d8e0deea1170be101f5e1114b2cce1cf4ae /tools/perf/scripts/python/exported-sql-viewer.py
parenteff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac (diff)
libbpf: Access first syscall argument with CO-RE direct read on s390
Currently PT_REGS_PARM1 SYSCALL(x) is consistent with PT_REGS_PARM1_CORE SYSCALL(x), which will introduce the overhead of BPF_CORE_READ(), taking into account the read pt_regs comes directly from the context, let's use CO-RE direct read to access the first system call argument. Suggested-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Pu Lehui <pulehui@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240831041934.1629216-2-pulehui@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions