Lines Matching +full:libbpf +full:- +full:tools
1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
5 // 13-Jan-2022 Jingxiang Zeng Created this.
16 #include <bpf/libbpf.h>
29 "https://github.com/iovisor/bcc/tree/master/libbpf-tools";
33 "USAGE: oomkill [-h]\n"
81 ts, e->fpid, e->fcomm, e->tpid, e->tcomm, e->pages, buf); in handle_event()
84 ts, e->fpid, e->fcomm, e->tpid, e->tcomm, e->pages); in handle_event()
134 pb = perf_buffer__new(bpf_map__fd(obj->maps.events), 64, in main()
137 err = -errno; in main()
148 printf("Tracing OOM kills... Ctrl-C to stop.\n"); in main()
152 if (err < 0 && err != -EINTR) { in main()