diff options
author | Kenta Tada <[email protected]> | 2022-01-24 23:16:21 +0900 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-01-24 21:04:10 -0800 |
commit | d084df3b7a4c49fb2abec55f8d512c51d643c408 (patch) | |
tree | 92a6231d132a6ecda520e4b653c67d7e9da60664 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 78a2054156dd6265619b230cc5372b74f9ba5233 (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