aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2022-12-24 16:15:26 +0900
committerAndrii Nakryiko <andrii@kernel.org>2022-12-29 14:22:34 -0800
commitc5ffb26375ad309c858453f17e777b716723d527 (patch)
tree6314268028d2aa23ce0cb14dd57de1153cc8cbdd /scripts/stackusage
parentsamples/bpf: Fix tracex2 by using BPF_KSYSCALL macro (diff)
downloadlinux-c5ffb26375ad309c858453f17e777b716723d527.tar.gz
linux-c5ffb26375ad309c858453f17e777b716723d527.zip
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions