Searched refs:pb_opts (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | perf_buffer.c | 49 struct perf_buffer_opts pb_opts = {}; in test_perf_buffer() local 80 pb_opts.sample_cb = on_sample; in test_perf_buffer() 81 pb_opts.ctx = &cpu_seen; in test_perf_buffer() 82 pb = perf_buffer__new(bpf_map__fd(skel->maps.perf_buf_map), 1, &pb_opts); in test_perf_buffer()
|
D | xdp_bpf2bpf.c | 52 struct perf_buffer_opts pb_opts = {}; in test_xdp_bpf2bpf() local 89 pb_opts.sample_cb = on_sample; in test_xdp_bpf2bpf() 90 pb_opts.ctx = &passed; in test_xdp_bpf2bpf() 92 1, &pb_opts); in test_xdp_bpf2bpf()
|
D | kfree_skb.c | 68 struct perf_buffer_opts pb_opts = {}; in test_kfree_skb() local 114 pb_opts.sample_cb = on_sample; in test_kfree_skb() 115 pb_opts.ctx = &passed; in test_kfree_skb() 116 pb = perf_buffer__new(bpf_map__fd(perf_buf_map), 1, &pb_opts); in test_kfree_skb()
|
D | get_stack_raw_tp.c | 88 struct perf_buffer_opts pb_opts = {}; in test_get_stack_raw_tp() local 127 pb_opts.sample_cb = get_stack_print_output; in test_get_stack_raw_tp() 128 pb = perf_buffer__new(bpf_map__fd(map), 8, &pb_opts); in test_get_stack_raw_tp()
|
/tools/bpf/runqslower/ |
D | runqslower.c | 126 struct perf_buffer_opts pb_opts; in main() local 168 pb_opts.sample_cb = handle_event; in main() 169 pb_opts.lost_cb = handle_lost_events; in main() 170 pb = perf_buffer__new(bpf_map__fd(obj->maps.events), 64, &pb_opts); in main()
|
/tools/testing/selftests/bpf/ |
D | test_tcpnotify_user.c | 74 struct perf_buffer_opts pb_opts = {}; in main() local 119 pb_opts.sample_cb = dummyfn; in main() 120 pb = perf_buffer__new(bpf_map__fd(perf_map), 8, &pb_opts); in main()
|
/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 397 struct perf_buffer_raw_opts pb_opts = { in perfbuf_libbpf_setup() local 426 args.perfbuf_sz, &pb_opts); in perfbuf_libbpf_setup()
|