aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKenta Tada <[email protected]>2022-01-24 23:16:21 +0900
committerAndrii Nakryiko <[email protected]>2022-01-24 21:04:10 -0800
commitd084df3b7a4c49fb2abec55f8d512c51d643c408 (patch)
tree92a6231d132a6ecda520e4b653c67d7e9da60664 /tools/perf/scripts/python/net_dropmonitor.py
parent78a2054156dd6265619b230cc5372b74f9ba5233 (diff)
libbpf: Fix the incorrect register read for syscalls on x86_64
Currently, rcx is read as the fourth parameter of syscall on x86_64. But x86_64 Linux System Call convention uses r10 actually. This commit adds the wrapper for users who want to access to syscall params to analyze the user space. Signed-off-by: Kenta Tada <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions