Lines Matching +full:libbpf +full:- +full:tools
1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
4 // Based on numamove(8) from BPF-Perf-Tools-Book by Brendan Gregg.
5 // 8-Jun-2020 Wenbo Zhang Created this.
11 #include <bpf/libbpf.h>
24 "https://github.com/iovisor/bcc/tree/master/libbpf-tools";
28 "USAGE: numamove [--help]\n"
92 if (!obj->bss) { in main()
93 …fprintf(stderr, "Memory-mapping BPF maps is supported starting from Linux 5.7, please upgrade.\n"); in main()
105 printf("%-10s %18s %18s\n", "TIME", "NUMA_migrations", "NUMA_migrations_ms"); in main()
111 printf("%-10s %18lld %18lld\n", ts, in main()
112 __atomic_exchange_n(&obj->bss->num, 0, __ATOMIC_RELAXED), in main()
113 __atomic_exchange_n(&obj->bss->latency, 0, __ATOMIC_RELAXED)); in main()