Searched refs:sample_cb (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | ringbuf.c | 25 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()
|
D | libbpf.h | 533 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
|
D | libbpf.c | 9953 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/ |
D | trace_output_user.c | 87 pb_opts.sample_cb = print_bpf_output; in main()
|
D | xdp_sample_pkts_user.c | 189 pb_opts.sample_cb = print_bpf_output; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tcpnotify_user.c | 117 pb_opts.sample_cb = dummyfn; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bpf2bpf.c | 89 pb_opts.sample_cb = on_sample; in test_xdp_bpf2bpf()
|
D | perf_buffer.c | 80 pb_opts.sample_cb = on_sample; in test_perf_buffer()
|
D | get_stack_raw_tp.c | 127 pb_opts.sample_cb = get_stack_print_output; in test_get_stack_raw_tp()
|
D | kfree_skb.c | 116 pb_opts.sample_cb = on_sample; in test_kfree_skb()
|
/kernel/linux/linux-5.10/tools/bpf/runqslower/ |
D | runqslower.c | 168 pb_opts.sample_cb = handle_event; in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 466 perf_buffer_sample_fn sample_cb; member
|