1 // SPDX-License-Identifier: GPL-2.0
5 #include <bpf/bpf_helpers.h>
6 #include <bpf/bpf_tracing.h>
10 SEC("fentry/__set_task_comm")
11 int BPF_PROG(prog1
, struct task_struct
*tsk
, const char *buf
, bool exec
)
16 SEC("fexit/__set_task_comm")
17 int BPF_PROG(prog2
, struct task_struct
*tsk
, const char *buf
, bool exec
)
22 char _license
[] SEC("license") = "GPL";