Searched refs:perfbuf (Results 1 – 2 of 2) sorted by relevance
14 } perfbuf SEC(".maps");28 if (bpf_perf_event_output(ctx, &perfbuf, BPF_F_CURRENT_CPU, in bench_perfbuf()
344 struct perf_buffer *perfbuf; member425 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()