Searched refs:ring_buf (Results 1 – 4 of 4) sorted by relevance
/linux-tools/ebpf/kernel-samples-bpf/ |
H A D | syscall_tp_openat_user.c | 15 struct ring_buffer *ring_buf = NULL; variable 17 if (ring_buf) { in int_exit() 18 ring_buffer__free(ring_buf); in int_exit() 19 ring_buf= NULL; in int_exit() 60 ring_buf = ring_buffer__new(fd, event_handler, NULL, NULL); in main() 61 if (!ring_buf) { in main() 67 while (ring_buffer__poll(ring_buf, -1) >= 0) {} in main()
|
/linux-tools/ebpf/libbpf-bootstrap/ |
H A D | commargv.c | 22 static struct ring_buffer *ring_buf = NULL; variable 27 if (ring_buf) { in int_exit() 28 ring_buffer__free(ring_buf); in int_exit() 29 ring_buf= NULL; in int_exit() 98 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.comms), event_handler, NULL, NULL); in main() 99 if (!ring_buf) { in main() 104 if(ring_buffer__poll(ring_buf, -1) < 0) break; in main()
|
H A D | openat.c | 22 static struct ring_buffer *ring_buf = NULL; variable 27 if (ring_buf) { in int_exit() 28 ring_buffer__free(ring_buf); in int_exit() 29 ring_buf= NULL; in int_exit() 99 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.opens), event_handler, NULL, NULL); in main() 100 if (!ring_buf) { in main() 110 if(ring_buffer__poll(ring_buf, -1) < 0) break; in main()
|
H A D | conn.c | 25 static struct ring_buffer *ring_buf = NULL; variable 30 if (ring_buf) { in int_exit() 31 ring_buffer__free(ring_buf); in int_exit() 32 ring_buf= NULL; in int_exit() 146 ring_buf = ring_buffer__new(bpf_map__fd(skel->maps.conns), event_handler, NULL, NULL); in main() 147 if (!ring_buf) { in main() 152 if(ring_buffer__poll(ring_buf, -1) < 0) break; in main()
|