Home
last modified time | relevance | path

Searched refs:skel (Results 1 – 4 of 4) sorted by relevance

/linux-tools/ebpf/libbpf-bootstrap/
H A Dkprobe_ksysread.c15 static struct kprobe_ksysread_bpf *skel=NULL; variable
17 if (skel) { in int_exit()
18 kprobe_ksysread_bpf__destroy(skel); in int_exit()
27 skel = kprobe_ksysread_bpf__open_and_load(); in main()
28 if (!skel) { in main()
34 err = kprobe_ksysread_bpf__attach(skel); in main()
H A Dcommargv.c23 static struct commargv_bpf *skel = NULL; variable
31 if (skel){ in int_exit()
32 commargv_bpf__destroy(skel); in int_exit()
33 skel = NULL; in int_exit()
83 skel = commargv_bpf__open(); in main()
84 if (!skel) { in main()
88 err = commargv_bpf__load(skel); in main()
93 err = commargv_bpf__attach(skel); in main()
98 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.comms), event_handler, NULL, NULL); in main()
H A Dopenat.c23 static struct openat_bpf *skel = NULL; variable
31 if (skel){ in int_exit()
32 openat_bpf__destroy(skel); in int_exit()
33 skel = NULL; in int_exit()
84 skel = openat_bpf__open(); in main()
85 if (!skel) { in main()
89 err = openat_bpf__load(skel); in main()
94 err = openat_bpf__attach(skel); in main()
99 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.opens), event_handler, NULL, NULL); in main()
H A Dconn.c26 static struct conn_bpf *skel = NULL; variable
34 if (skel){ in int_exit()
35 conn_bpf__destroy(skel); in int_exit()
36 skel = NULL; in int_exit()
131 skel = conn_bpf__open(); in main()
132 if (!skel) { in main()
136 err = conn_bpf__load(skel); in main()
141 err = conn_bpf__attach(skel); in main()
146 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.conns), event_handler, NULL, NULL); in main()