/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 51 if (CHECK(IS_ERR(map), "hashmap__new", in test_hashmap_generic() 60 if (CHECK(err != -ENOENT, "hashmap__update", in test_hashmap_generic() 68 if (CHECK(oldk != NULL || oldv != NULL, "check_kv", in test_hashmap_generic() 73 if (CHECK(err, "elem_add", "failed to add k/v %ld = %ld: %d\n", in test_hashmap_generic() 77 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 80 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic() 85 if (CHECK(hashmap__size(map) != ELEM_CNT, "hashmap__size", in test_hashmap_generic() 88 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic() 99 if (CHECK(v - k != 1024, "check_kv", in test_hashmap_generic() 103 if (CHECK(found_ms in test_hashmap_generic() [all...] |
H A D | skeleton.c | 23 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_skeleton() 26 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton() 34 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 35 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton() 36 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton() 37 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton() 39 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 40 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 41 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton() 42 CHECK(bs in test_skeleton() [all...] |
H A D | bpf_iter.c | 34 if (CHECK(skel, "bpf_iter_test_kern3__open_and_load", in test_btf_id_or_null() 48 if (CHECK(IS_ERR(link), "attach_iter", "attach_iter failed\n")) in do_dummy_read() 52 if (CHECK(iter_fd < 0, "create_iter", "create_iter failed\n")) in do_dummy_read() 58 CHECK(len < 0, "read", "read failed: %s\n", strerror(errno)); in do_dummy_read() 71 if (CHECK(!skel, "bpf_iter_ipv6_route__open_and_load", in test_ipv6_route() 85 if (CHECK(!skel, "bpf_iter_netlink__open_and_load", in test_netlink() 99 if (CHECK(!skel, "bpf_iter_bpf_map__open_and_load", in test_bpf_map() 113 if (CHECK(!skel, "bpf_iter_task__open_and_load", in test_task() 127 if (CHECK(!skel, "bpf_iter_task_stack__open_and_load", in test_task_stack() 148 if (CHECK(!ske in test_task_file() [all...] |
H A D | ringbuf.c | 48 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 52 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 92 if (CHECK(!skel, "skel_open_load", "skeleton open&load failed\n")) in test_ringbuf() 100 if (CHECK(!ringbuf, "ringbuf_create", "failed to create ringbuf\n")) in test_ringbuf() 104 if (CHECK(err, "skel_attach", "skeleton attachment failed: %d\n", err)) in test_ringbuf() 110 CHECK(skel->bss->avail_data != 3 * rec_sz, in test_ringbuf() 113 CHECK(skel->bss->ring_size != 4096, in test_ringbuf() 116 CHECK(skel->bss->cons_pos != 0, in test_ringbuf() 119 CHECK(skel->bss->prod_pos != 3 * rec_sz, in test_ringbuf() 127 if (CHECK(er in test_ringbuf() [all...] |
H A D | cgroup_attach_override.c | 32 if (CHECK(allow_prog < 0, "prog_load_allow", in test_cgroup_attach_override() 37 if (CHECK(drop_prog < 0, "prog_load_drop", in test_cgroup_attach_override() 42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in test_cgroup_attach_override() 45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_override() 51 if (CHECK(!system(PING_CMD), "ping_fail", in test_cgroup_attach_override() 56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n")) in test_cgroup_attach_override() 59 if (CHECK(!system(PING_CMD), "ping_fail", in test_cgroup_attach_override() 63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_override() 69 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detac in test_cgroup_attach_override() [all...] |
H A D | xdp_link.c | 21 if (CHECK(!skel1, "skel_load", "skeleton open and load failed\n")) in test_xdp_link() 26 if (CHECK(!skel2, "skel_load", "skeleton open and load failed\n")) in test_xdp_link() 32 if (CHECK(err, "fd_info1", "failed %d\n", -errno)) in test_xdp_link() 38 if (CHECK(err, "fd_info2", "failed %d\n", -errno)) in test_xdp_link() 44 if (CHECK(err, "fd_attach", "initial prog attach failed: %d\n", err)) in test_xdp_link() 49 CHECK(err || id0 != id1, "id1_check", in test_xdp_link() 54 if (CHECK(!IS_ERR(link), "link_attach_fail", "unexpected success\n")) { in test_xdp_link() 65 if (CHECK(err, "prog_detach", "failed %d\n", err)) in test_xdp_link() 70 if (CHECK(IS_ERR(link), "link_attach", "failed: %ld\n", PTR_ERR(link))) in test_xdp_link() 76 if (CHECK(er in test_xdp_link() [all...] |
H A D | pinning.c | 18 if (CHECK(!map, "find map", "NULL map")) in get_map_id() 23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id() 48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) { in test_pinning() 56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) { in test_pinning() 62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() 67 if (CHECK(err, "stat pinpath", "err %d errno %d\n", err, errno)) in test_pinning() 72 if (CHECK(!err || errno != ENOENT, "stat nopinpath", in test_pinning() 78 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning() 95 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() 100 if (CHECK(map_i in test_pinning() [all...] |
H A D | d_path.c | 39 if (CHECK(pipe(pipefd) < 0, "trigger", "pipe failed\n")) in trigger_fstat_events() 43 if (CHECK(sockfd < 0, "trigger", "socket failed\n")) in trigger_fstat_events() 47 if (CHECK(procfd < 0, "trigger", "open /proc/self/comm failed\n")) in trigger_fstat_events() 50 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events() 53 if (CHECK(localfd < 0, "trigger", "open /tmp/d_path_loadgen.txt failed\n")) in trigger_fstat_events() 58 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events() 62 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[0]\n")) in trigger_fstat_events() 65 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[1]\n")) in trigger_fstat_events() 68 if (CHECK(ret < 0, "trigger", "set_pathname failed for socket\n")) in trigger_fstat_events() 71 if (CHECK(re in trigger_fstat_events() [all...] |
H A D | ksyms_btf.c | 23 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic() 25 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'runqueues' not found\n")) in test_basic() 29 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic() 31 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'bpf_prog_active' not found\n")) in test_basic() 35 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_basic() 39 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_basic() 46 CHECK(data->out__runqueues_addr != runqueues_addr, "runqueues_addr", in test_basic() 50 CHECK(data->out__bpf_prog_active_addr != bpf_prog_active_addr, "bpf_prog_active_addr", in test_basic() 55 CHECK(data->out__rq_cpu == -1, "rq_cpu", in test_basic() 57 CHECK(dat in test_basic() [all...] |
H A D | kfree_skb.c | 24 if (CHECK(size != 72 + sizeof(*meta), "check_size", "size %u != %zu\n", in on_sample() 27 if (CHECK(meta->ifindex != 1, "check_meta_ifindex", in on_sample() 31 if (CHECK(meta->cb8_0 != cb.cb8[0], "check_cb8_0", "cb8_0 %x != %x\n", in on_sample() 34 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0", in on_sample() 38 if (CHECK(pkt_v6->eth.h_proto != 0xdd86, "check_eth", in on_sample() 41 if (CHECK(pkt_v6->iph.nexthdr != 6, "check_ip", in on_sample() 44 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample() 78 if (CHECK(err, "prog_load sched cls", "err %d errno %d\n", err, errno)) in test_kfree_skb() 82 if (CHECK(err, "prog_load raw tp", "err %d errno %d\n", err, errno)) in test_kfree_skb() 86 if (CHECK(!pro in test_kfree_skb() [all...] |
H A D | ringbuf_multi.c | 23 CHECK(ring != 1, "sample1_ring", "exp %d, got %d\n", 1, ring); in process_sample() 24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 28 CHECK(ring != 2, "sample2_ring", "exp %d, got %d\n", 2, ring); in process_sample() 29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 33 CHECK(true, "extra_sample", "unexpected sample seq %d, val %ld\n", in process_sample() 48 if (CHECK(!skel, "skel_open_load", "skeleton open&load failed\n")) in test_ringbuf_multi() 56 if (CHECK(!ringbuf, "ringbuf_create", "failed to create ringbuf\n")) in test_ringbuf_multi() 61 if (CHECK(err, "ringbuf_add", "failed to add another ring\n")) in test_ringbuf_multi() 65 if (CHECK(err, "skel_attach", "skeleton attachment failed: %d\n", err)) in test_ringbuf_multi() 84 if (CHECK(er in test_ringbuf_multi() [all...] |
H A D | xdp_info.c | 18 if (CHECK(err, "get_xdp_none", "errno=%d\n", errno)) in test_xdp_info() 20 if (CHECK(prog_id, "prog_id_none", "unexpected prog_id=%u\n", prog_id)) in test_xdp_info() 24 if (CHECK(err, "get_xdp_none_skb", "errno=%d\n", errno)) in test_xdp_info() 26 if (CHECK(prog_id, "prog_id_none_skb", "unexpected prog_id=%u\n", in test_xdp_info() 37 if (CHECK(err, "get_prog_info", "errno=%d\n", errno)) in test_xdp_info() 41 if (CHECK(err, "set_xdp_skb", "errno=%d\n", errno)) in test_xdp_info() 47 if (CHECK(err, "get_xdp", "errno=%d\n", errno)) in test_xdp_info() 49 if (CHECK(prog_id != info.id, "prog_id", "prog_id not available\n")) in test_xdp_info() 53 if (CHECK(err, "get_xdp_skb", "errno=%d\n", errno)) in test_xdp_info() 55 if (CHECK(prog_i in test_xdp_info() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 60 if (CHECK(err != -ENOENT, "hashmap__update", in test_hashmap_generic() 68 if (CHECK(oldk != 0 || oldv != 0, "check_kv", in test_hashmap_generic() 73 if (CHECK(err, "elem_add", "failed to add k/v %ld = %ld: %d\n", k, v, err)) in test_hashmap_generic() 76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic() 79 if (CHECK(oldv != v, "elem_val", "found value is wrong: %ld\n", oldv)) in test_hashmap_generic() 83 if (CHECK(hashmap__size(map) != ELEM_CNT, "hashmap__size", in test_hashmap_generic() 86 if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), in test_hashmap_generic() 97 if (CHECK(v - k != 1024, "check_kv", in test_hashmap_generic() 101 if (CHECK(found_msk != (1ULL << ELEM_CNT) - 1, "elem_cnt", in test_hashmap_generic() 110 if (CHECK(er in test_hashmap_generic() [all...] |
H A D | cgroup_attach_override.c | 32 if (CHECK(allow_prog < 0, "prog_load_allow", in serial_test_cgroup_attach_override() 37 if (CHECK(drop_prog < 0, "prog_load_drop", in serial_test_cgroup_attach_override() 42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in serial_test_cgroup_attach_override() 45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 51 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n")) in serial_test_cgroup_attach_override() 59 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 69 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detac in serial_test_cgroup_attach_override() [all...] |
H A D | pinning.c | 18 if (CHECK(!map, "find map", "NULL map")) in get_map_id() 23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id() 48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) { in test_pinning() 56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) { in test_pinning() 62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() 67 if (CHECK(err, "stat pinpath", "err %d errno %d\n", err, errno)) in test_pinning() 72 if (CHECK(!err || errno != ENOENT, "stat nopinpath", in test_pinning() 78 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning() 95 if (CHECK(err, "default load", "err %d errno %d\n", err, errno)) in test_pinning() 100 if (CHECK(map_i in test_pinning() [all...] |
H A D | skeleton.c | 30 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_skeleton() 33 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton() 46 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 47 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton() 48 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton() 49 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton() 51 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 52 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 53 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton() 54 CHECK(bs in test_skeleton() [all...] |
H A D | d_path.c | 50 if (CHECK(pipe(pipefd) < 0, "trigger", "pipe failed\n")) in trigger_fstat_events() 54 if (CHECK(sockfd < 0, "trigger", "socket failed\n")) in trigger_fstat_events() 58 if (CHECK(procfd < 0, "trigger", "open /proc/self/comm failed\n")) in trigger_fstat_events() 61 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events() 64 if (CHECK(localfd < 0, "trigger", "open /tmp/d_path_loadgen.txt failed\n")) in trigger_fstat_events() 69 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events() 73 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[0]\n")) in trigger_fstat_events() 76 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[1]\n")) in trigger_fstat_events() 79 if (CHECK(ret < 0, "trigger", "set_pathname failed for socket\n")) in trigger_fstat_events() 82 if (CHECK(re in trigger_fstat_events() [all...] |
H A D | ringbuf_multi.c | 23 CHECK(ring != 1, "sample1_ring", "exp %d, got %d\n", 1, ring); in process_sample() 24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 28 CHECK(ring != 2, "sample2_ring", "exp %d, got %d\n", 2, ring); in process_sample() 29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 33 CHECK(true, "extra_sample", "unexpected sample seq %d, val %ld\n", in process_sample() 50 if (CHECK(!skel, "skel_open", "skeleton open failed\n")) in test_ringbuf_multi() 61 if (CHECK(proto_fd < 0, "bpf_map_create", "bpf_map_create failed\n")) in test_ringbuf_multi() 65 if (CHECK(err != 0, "bpf_map__set_inner_map_fd", "bpf_map__set_inner_map_fd failed\n")) in test_ringbuf_multi() 69 if (CHECK(err != 0, "skel_load", "skeleton load failed\n")) in test_ringbuf_multi() 84 if (CHECK(!ringbu in test_ringbuf_multi() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | linked_list_fail.c | 47 #define CHECK(test, op, hexpr) \ macro 57 CHECK(kptr, pop_front, &f->head); 58 CHECK(kptr, pop_back, &f->head); 60 CHECK(global, pop_front, &ghead); 61 CHECK(global, pop_back, &ghead); 63 CHECK(map, pop_front, &v->head); 64 CHECK(map, pop_back, &v->head); 66 CHECK(inner_map, pop_front, &iv->head); 67 CHECK(inner_map, pop_back, &iv->head); 69 #undef CHECK macro 71 #define CHECK global() macro 92 #undef CHECK global() macro 94 #define CHECK global() macro 129 #undef CHECK global() macro 132 #define CHECK global() macro 166 #undef CHECK global() macro [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | percpu_test.c | 5 #define CHECK(native, pcp, expected) \ macro 36 CHECK(l, long_counter, -1); in percpu_test_init() 40 CHECK(l, long_counter, 0); in percpu_test_init() 47 CHECK(ul, ulong_counter, 1); in percpu_test_init() 51 CHECK(ul, ulong_counter, 0); in percpu_test_init() 55 CHECK(ul, ulong_counter, -1); in percpu_test_init() 62 CHECK(ul, ulong_counter, -1); in percpu_test_init() 63 CHECK(ul, ulong_counter, ULONG_MAX); in percpu_test_init() 67 CHECK(l, long_counter, 0xffffffff); in percpu_test_init() 71 CHECK( in percpu_test_init() [all...] |
H A D | bitfield_kunit.c | 95 #define CHECK(tp, mask) do { \ macro 105 CHECK(u8, 0x0f); in test_bitfields_variables() 106 CHECK(u8, 0xf0); in test_bitfields_variables() 107 CHECK(u8, 0x38); in test_bitfields_variables() 109 CHECK(u16, 0x0038); in test_bitfields_variables() 110 CHECK(u16, 0x0380); in test_bitfields_variables() 111 CHECK(u16, 0x3800); in test_bitfields_variables() 112 CHECK(u16, 0x8000); in test_bitfields_variables() 114 CHECK(u32, 0x80000000); in test_bitfields_variables() 115 CHECK(u3 in test_bitfields_variables() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | percpu_test.c | 5 #define CHECK(native, pcp, expected) \ macro 36 CHECK(l, long_counter, -1); in percpu_test_init() 40 CHECK(l, long_counter, 0); in percpu_test_init() 47 CHECK(ul, ulong_counter, 1); in percpu_test_init() 51 CHECK(ul, ulong_counter, 0); in percpu_test_init() 55 CHECK(ul, ulong_counter, -1); in percpu_test_init() 62 CHECK(ul, ulong_counter, -1); in percpu_test_init() 63 CHECK(ul, ulong_counter, ULONG_MAX); in percpu_test_init() 67 CHECK(l, long_counter, 0xffffffff); in percpu_test_init() 71 CHECK( in percpu_test_init() [all...] |
H A D | bitfield_kunit.c | 95 #define CHECK(tp, mask) do { \ macro 105 CHECK(u8, 0x0f); in test_bitfields_variables() 106 CHECK(u8, 0xf0); in test_bitfields_variables() 107 CHECK(u8, 0x38); in test_bitfields_variables() 109 CHECK(u16, 0x0038); in test_bitfields_variables() 110 CHECK(u16, 0x0380); in test_bitfields_variables() 111 CHECK(u16, 0x3800); in test_bitfields_variables() 112 CHECK(u16, 0x8000); in test_bitfields_variables() 114 CHECK(u32, 0x80000000); in test_bitfields_variables() 115 CHECK(u3 in test_bitfields_variables() [all...] |
/kernel/linux/linux-6.6/tools/perf/dlfilters/ |
H A D | dlfilter-test-api-v2.c | 147 #define CHECK(x) do { \ macro 171 CHECK(!filt_dat && !called); in start() 182 CHECK(dlargc == 6); in start() 183 CHECK(!strcmp(dlargv[0], "first")); in start() 188 CHECK(!strcmp(dlargv[5], "last")); in start() 217 CHECK(sample->size >= sizeof(struct perf_dlfilter_sample)); in check_sample() 232 CHECK(!sample->raw_data); in check_sample() 234 CHECK(!sample->brstack); in check_sample() 236 CHECK(!sample->raw_callchain); in check_sample() 239 CHECK(!strncm in check_sample() [all...] |
H A D | dlfilter-test-api-v0.c | 132 #define CHECK(x) do { \ macro 156 CHECK(!filt_dat && !called); in start() 167 CHECK(dlargc == 6); in start() 168 CHECK(!strcmp(dlargv[0], "first")); in start() 173 CHECK(!strcmp(dlargv[5], "last")); in start() 202 CHECK(sample->size >= sizeof(struct perf_dlfilter_sample)); in check_sample() 217 CHECK(!sample->raw_data); in check_sample() 219 CHECK(!sample->brstack); in check_sample() 221 CHECK(!sample->raw_callchain); in check_sample() 224 CHECK(!strncm in check_sample() [all...] |