samples/bpf: refactor syscall tracing programs using BPF_KSYSCALL macro
authorDaniel T. Lee <danieltimlee@gmail.com>
Fri, 18 Aug 2023 09:01:18 +0000 (18:01 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 21 Aug 2023 22:39:10 +0000 (15:39 -0700)
commit8dc80551463197ec79ce0966ec2b5bd700042614
tree978a0c87bfc6deec1432b848410b9986720f40cf
parentd93a7cf6ca2cfcd7de5d06f753ce8d5e863316ac
samples/bpf: refactor syscall tracing programs using BPF_KSYSCALL macro

This commit refactors the syscall tracing programs by adopting the
BPF_KSYSCALL macro. This change aims to enhance the clarity and
simplicity of the BPF programs by reducing the complexity of argument
parsing from pt_regs.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230818090119.477441-9-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/test_map_in_map.bpf.c