aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel T. Lee <[email protected]>2022-12-24 16:15:26 +0900
committerAndrii Nakryiko <[email protected]>2022-12-29 14:22:34 -0800
commitc5ffb26375ad309c858453f17e777b716723d527 (patch)
tree6314268028d2aa23ce0cb14dd57de1153cc8cbdd /lib/netdev-notifier-error-inject.c
parent2e5c4dd7f81545a98e9f06317347e760749c020b (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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions