Home
last modified time | relevance | path

Searched defs:perf_buffer (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/events/
Dinternal.h13 struct perf_buffer { struct
14 refcount_t refcount;
15 struct rcu_head rcu_head;
17 struct work_struct work;
18 int page_order; /* allocation order */
20 int nr_pages; /* nr of data pages */
21 int overwrite; /* can overwrite itself */
22 int paused; /* can write into ring buffer */
24 atomic_t poll; /* POLL_ for wakeups */
26 local_t head; /* write position */
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c460 struct perf_buffer { struct
461 perf_buffer_event_fn event_cb; argument
462 perf_buffer_sample_fn sample_cb; argument
463 perf_buffer_lost_fn lost_cb; argument
478 struct perf_buffer *pb = ctx->perfbuf; in perfbuf_custom_consumer() argument
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c11534 struct perf_buffer { struct
11535 perf_buffer_event_fn event_cb; argument
11536 perf_buffer_sample_fn sample_cb; argument
11537 perf_buffer_lost_fn lost_cb; argument
11549 static void perf_buffer__free_cpu_buf(struct perf_buffer *pb, in perf_buffer__free_cpu_buf() argument