aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2024-08-31 04:19:32 +0000
committerAndrii Nakryiko <andrii@kernel.org>2024-09-04 17:06:06 -0700
commit9ab94078e868a45cbd23828b8377600b83a41fac (patch)
tree0300e1cd697e491014a45689f0ce1db2375cc028 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentlibbpf: Access first syscall argument with CO-RE direct read on s390 (diff)
downloadwireguard-linux-9ab94078e868a45cbd23828b8377600b83a41fac.tar.xz
wireguard-linux-9ab94078e868a45cbd23828b8377600b83a41fac.zip
libbpf: Access first syscall argument with CO-RE direct read on arm64
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> Acked-by: Xu Kuohai <xukuohai@huawei.com> Link: https://lore.kernel.org/bpf/20240831041934.1629216-3-pulehui@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions