diff options
author | 2024-08-31 04:19:31 +0000 | |
---|---|---|
committer | 2024-09-04 17:05:30 -0700 | |
commit | e4db2a821b6cff4bd59c0efabdbfdd84ac6005c1 (patch) | |
tree | 8b4d1d8e0deea1170be101f5e1114b2cce1cf4ae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests/bpf: Add a selftest for x86 jit convergence issues (diff) | |
download | wireguard-linux-e4db2a821b6cff4bd59c0efabdbfdd84ac6005c1.tar.xz wireguard-linux-e4db2a821b6cff4bd59c0efabdbfdd84ac6005c1.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions