Home
last modified time | relevance | path

Searched refs:perfbuf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dperfbuf_bench.c14 } perfbuf SEC(".maps");
28 if (bpf_perf_event_output(ctx, &perfbuf, BPF_F_CURRENT_CPU, in bench_perfbuf()
/Linux-v5.10/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c344 struct perf_buffer *perfbuf; member
425 ctx->perfbuf = perf_buffer__new_raw(bpf_map__fd(ctx->skel->maps.perfbuf), in perfbuf_libbpf_setup()
427 if (!ctx->perfbuf) { in perfbuf_libbpf_setup()
443 while (perf_buffer__poll(ctx->perfbuf, -1) >= 0) { in perfbuf_libbpf_consumer()
482 struct perf_buffer *pb = ctx->perfbuf; in perfbuf_custom_consumer()