Searched refs:pb (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_tcpnotify_user.c | 44 void tcp_notifier_poller(struct perf_buffer *pb) in tcp_notifier_poller() argument 49 err = perf_buffer__poll(pb, 100); in tcp_notifier_poller() 59 struct perf_buffer *pb = arg; in poller_thread() local 61 tcp_notifier_poller(pb); in poller_thread() 76 struct perf_buffer *pb = NULL; in main() local 124 pb = perf_buffer__new(bpf_map__fd(perf_map), 8, &pb_opts); in main() 125 if (IS_ERR(pb)) in main() 128 pthread_create(&tid, NULL, poller_thread, pb); in main() 165 if (!IS_ERR_OR_NULL(pb)) in main() 166 perf_buffer__free(pb); in main()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | perf_buffer.c | 30 struct perf_buffer *pb; in test_perf_buffer() local 60 pb = perf_buffer__new(bpf_map__fd(perf_buf_map), 1, &pb_opts); in test_perf_buffer() 61 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_perf_buffer() 80 err = perf_buffer__poll(pb, 100); in test_perf_buffer() 89 perf_buffer__free(pb); in test_perf_buffer()
|
D | get_stack_raw_tp.c | 88 struct perf_buffer *pb = NULL; in test_get_stack_raw_tp() local 123 pb = perf_buffer__new(bpf_map__fd(map), 8, &pb_opts); in test_get_stack_raw_tp() 124 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_get_stack_raw_tp() 132 err = perf_buffer__poll(pb, 100); in test_get_stack_raw_tp() 141 if (!IS_ERR_OR_NULL(pb)) in test_get_stack_raw_tp() 142 perf_buffer__free(pb); in test_get_stack_raw_tp()
|
/tools/bpf/bpftool/ |
D | map_perf_ring.c | 134 struct perf_buffer *pb; in do_event_pipe() local 201 pb = perf_buffer__new_raw(map_fd, MMAP_PAGE_CNT, &opts); in do_event_pipe() 202 err = libbpf_get_error(pb); in do_event_pipe() 217 err = perf_buffer__poll(pb, 200); in do_event_pipe() 228 perf_buffer__free(pb); in do_event_pipe() 234 perf_buffer__free(pb); in do_event_pipe()
|
/tools/lib/bpf/ |
D | libbpf.c | 5312 struct perf_buffer *pb; member 5336 static void perf_buffer__free_cpu_buf(struct perf_buffer *pb, in perf_buffer__free_cpu_buf() argument 5342 munmap(cpu_buf->base, pb->mmap_size + pb->page_size)) in perf_buffer__free_cpu_buf() 5352 void perf_buffer__free(struct perf_buffer *pb) in perf_buffer__free() argument 5356 if (!pb) in perf_buffer__free() 5358 if (pb->cpu_bufs) { in perf_buffer__free() 5359 for (i = 0; i < pb->cpu_cnt && pb->cpu_bufs[i]; i++) { in perf_buffer__free() 5360 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; in perf_buffer__free() 5362 bpf_map_delete_elem(pb->map_fd, &cpu_buf->map_key); in perf_buffer__free() 5363 perf_buffer__free_cpu_buf(pb, cpu_buf); in perf_buffer__free() [all …]
|
D | libbpf.h | 415 LIBBPF_API void perf_buffer__free(struct perf_buffer *pb); 416 LIBBPF_API int perf_buffer__poll(struct perf_buffer *pb, int timeout_ms);
|
/tools/testing/ktest/ |
D | config-bisect.pl | 320 my ($pa, $pb) = @_; 324 my %b = %{$pb}; 339 my ($pa, $pb) = @_; 345 my %b = %{$pb}; 361 my ($pa, $pb) = @_; 367 my %b = %{$pb};
|
/tools/memory-model/ |
D | linux-kernel.cat | 94 let pb = prop ; strong-fence ; hb* ; [Marked] 95 acyclic pb as propagation 121 let rcu-link = po? ; hb* ; pb* ; prop ; po 145 (* rb orders instructions just as pb does *) 146 let rb = prop ; rcu-fence ; hb* ; pb* ; [Marked] 155 * let xb = hb | pb | rb 169 let xbstar = (hb | pb | rb)*
|
/tools/memory-model/Documentation/ |
D | explanation.txt | 29 21. THE PROPAGATES-BEFORE RELATION: pb 1348 THE PROPAGATES-BEFORE RELATION: pb 1351 The propagates-before (pb) relation capitalizes on the special 1378 The existence of a pb link from E to F implies that E must execute 1387 A good example illustrating how pb works is the SB pattern with strong 1410 If r0 = 0 at the end then there is a pb link from P0's load to P1's 1414 Note that this pb link is not included in hb as an instance of prop, 1417 Similarly, if r1 = 0 at the end then there is a pb link from P1's load 1419 cycle in pb, which is not possible since an instruction cannot execute 1423 In summary, the fact that the pb relation links events in the order [all …]
|
/tools/lib/traceevent/ |
D | event-parse.c | 687 const struct printk_map *pb = b; in printk_cmp() local 689 if (pa->addr < pb->addr) in printk_cmp() 691 if (pa->addr > pb->addr) in printk_cmp()
|