diff options
author | Daniel T. Lee <danieltimlee@gmail.com> | 2022-12-24 16:15:26 +0900 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-12-29 14:22:34 -0800 |
commit | c5ffb26375ad309c858453f17e777b716723d527 (patch) | |
tree | 6314268028d2aa23ce0cb14dd57de1153cc8cbdd /tools/perf/scripts/python/task-analyzer.py | |
parent | 2e5c4dd7f81545a98e9f06317347e760749c020b (diff) |
samples/bpf: Use BPF_KSYSCALL macro in syscall tracing programs
This commit enhances the syscall tracing programs by using the
BPF_SYSCALL macro to reduce the inconvenience of parsing arguments from
pt_regs. By simplifying argument extraction, bpf program will become
clear to understand.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221224071527.2292-6-danieltimlee@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions