Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dringbuf.c26 ring_buffer_sample_fn sample_cb; member
76 ring_buffer_sample_fn sample_cb, void *ctx) in ring_buffer__add() argument
118 r->sample_cb = sample_cb; in ring_buffer__add()
190 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx, in ring_buffer__new() argument
212 err = ring_buffer__add(rb, map_fd, sample_cb, ctx); in ring_buffer__new()
260 err = r->sample_cb(r->ctx, sample, len); in ringbuf_process_ring()
Dlibbpf.h1321 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx,
1325 ring_buffer_sample_fn sample_cb, void *ctx);
1555 perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx,
Dlibbpf.c13074 perf_buffer_sample_fn sample_cb; member
13094 perf_buffer_sample_fn sample_cb; member
13201 perf_buffer_sample_fn sample_cb, in perf_buffer__new() argument
13227 p.sample_cb = sample_cb; in perf_buffer__new()
13303 pb->sample_cb = p->sample_cb; in __perf_buffer__new()
13433 if (pb->sample_cb) in perf_buffer__process_record()
13434 pb->sample_cb(pb->ctx, cpu_buf->cpu, s->data, s->size); in perf_buffer__process_record()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c462 perf_buffer_sample_fn sample_cb; member