Home
last modified time | relevance | path

Searched refs:sample_cb (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dringbuf.c26 ring_buffer_sample_fn sample_cb; member
74 ring_buffer_sample_fn sample_cb, void *ctx) in ring_buffer__add() argument
114 r->sample_cb = sample_cb; in ring_buffer__add()
183 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx, in ring_buffer__new() argument
205 err = ring_buffer__add(rb, map_fd, sample_cb, ctx); in ring_buffer__new()
253 err = r->sample_cb(r->ctx, sample, len); in ringbuf_process_ring()
Dlibbpf.h1243 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx,
1247 ring_buffer_sample_fn sample_cb, void *ctx);
1393 perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx,
Dlibbpf.c12299 perf_buffer_sample_fn sample_cb; member
12319 perf_buffer_sample_fn sample_cb; member
12426 perf_buffer_sample_fn sample_cb, in perf_buffer__new() argument
12452 p.sample_cb = sample_cb; in perf_buffer__new()
12528 pb->sample_cb = p->sample_cb; in __perf_buffer__new()
12658 if (pb->sample_cb) in perf_buffer__process_record()
12659 pb->sample_cb(pb->ctx, cpu_buf->cpu, s->data, s->size); in perf_buffer__process_record()
/linux-6.6.21/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c462 perf_buffer_sample_fn sample_cb; member