mirror of
https://github.com/netdata/libbpf.git
synced 2026-11-07 02:10:16 +08:00
libbpf: add fsession support
Add BPF_TRACE_FSESSION to libbpf. Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn> Link: https://lore.kernel.org/r/20260124062008.8657-9-dongml2@chinatelecom.cn Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
1 parent
adde4f55b7
commit
5ee8863eaf
2 files changed
+4
No files matched your search
@@ -794,6 +794,7 @@ int bpf_link_create(int prog_fd, int target_fd,
|
||||
case BPF_TRACE_FENTRY:
|
||||
case BPF_TRACE_FEXIT:
|
||||
case BPF_MODIFY_RETURN:
|
||||
case BPF_TRACE_FSESSION:
|
||||
case BPF_LSM_MAC:
|
||||
attr.link_create.tracing.cookie = OPTS_GET(opts, tracing.cookie, 0);
|
||||
if (!OPTS_ZEROED(opts, tracing))
|
||||
|
||||
Reference in new issue
Block a user