Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
Dringbuf.c25 ring_buffer_sample_fn sample_cb; member
56 ring_buffer_sample_fn sample_cb, void *ctx) in ring_buffer__add() argument
96 r->sample_cb = sample_cb; in ring_buffer__add()
165 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx, in ring_buffer__new() argument
187 err = ring_buffer__add(rb, map_fd, sample_cb, ctx); in ring_buffer__new()
235 err = r->sample_cb(r->ctx, sample, len); in ringbuf_process_ring()
Dlibbpf.h533 ring_buffer__new(int map_fd, ring_buffer_sample_fn sample_cb, void *ctx,
537 ring_buffer_sample_fn sample_cb, void *ctx);
551 perf_buffer_sample_fn sample_cb; member
Dlibbpf.c9953 perf_buffer_sample_fn sample_cb; member
9973 perf_buffer_sample_fn sample_cb; member
10092 p.sample_cb = opts ? opts->sample_cb : NULL; in perf_buffer__new()
10161 pb->sample_cb = p->sample_cb; in __perf_buffer__new()
10291 if (pb->sample_cb) in perf_buffer__process_record()
10292 pb->sample_cb(pb->ctx, cpu_buf->cpu, s->data, s->size); in perf_buffer__process_record()
/kernel/linux/linux-5.10/samples/bpf/
Dtrace_output_user.c87 pb_opts.sample_cb = print_bpf_output; in main()
Dxdp_sample_pkts_user.c189 pb_opts.sample_cb = print_bpf_output; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c117 pb_opts.sample_cb = dummyfn; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_bpf2bpf.c89 pb_opts.sample_cb = on_sample; in test_xdp_bpf2bpf()
Dperf_buffer.c80 pb_opts.sample_cb = on_sample; in test_perf_buffer()
Dget_stack_raw_tp.c127 pb_opts.sample_cb = get_stack_print_output; in test_get_stack_raw_tp()
Dkfree_skb.c116 pb_opts.sample_cb = on_sample; in test_kfree_skb()
/kernel/linux/linux-5.10/tools/bpf/runqslower/
Drunqslower.c168 pb_opts.sample_cb = handle_event; in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c466 perf_buffer_sample_fn sample_cb; member