Home
last modified time | relevance | path

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

/linux/kernel/events/
H A 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/tools/testing/selftests/bpf/benchs/
H A 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/tools/lib/bpf/
H A Dlibbpf.c13132 struct perf_buffer { struct
13133 perf_buffer_event_fn event_cb; argument
13134 perf_buffer_sample_fn sample_cb; argument
13135 perf_buffer_lost_fn lost_cb; argument
13147 static void perf_buffer__free_cpu_buf(struct perf_buffer *pb, in perf_buffer__free_cpu_buf() argument