Lines Matching refs:attr

27 	TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type);  in test__checkevent_tracepoint()
29 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint()
30 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__checkevent_tracepoint()
43 PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_tracepoint_multi()
45 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_tracepoint_multi()
47 1 == evsel->attr.sample_period); in test__checkevent_tracepoint_multi()
57 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_raw()
58 TEST_ASSERT_VAL("wrong config", 0x1a == evsel->attr.config); in test__checkevent_raw()
67 TEST_ASSERT_VAL("wrong type", 1 == evsel->attr.type); in test__checkevent_numeric()
68 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_numeric()
77 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__checkevent_symbolic_name()
79 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__checkevent_symbolic_name()
88 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__checkevent_symbolic_name_config()
90 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__checkevent_symbolic_name_config()
96 0 == evsel->attr.sample_period); in test__checkevent_symbolic_name_config()
98 0 == evsel->attr.config1); in test__checkevent_symbolic_name_config()
100 1 == evsel->attr.config2); in test__checkevent_symbolic_name_config()
109 TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->attr.type); in test__checkevent_symbolic_alias()
111 PERF_COUNT_SW_PAGE_FAULTS == evsel->attr.config); in test__checkevent_symbolic_alias()
120 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HW_CACHE == evsel->attr.type); in test__checkevent_genhw()
121 TEST_ASSERT_VAL("wrong config", (1 << 16) == evsel->attr.config); in test__checkevent_genhw()
130 TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint()
131 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint()
133 evsel->attr.bp_type); in test__checkevent_breakpoint()
135 evsel->attr.bp_len); in test__checkevent_breakpoint()
144 TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_x()
145 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_x()
147 HW_BREAKPOINT_X == evsel->attr.bp_type); in test__checkevent_breakpoint_x()
148 TEST_ASSERT_VAL("wrong bp_len", sizeof(long) == evsel->attr.bp_len); in test__checkevent_breakpoint_x()
158 PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_r()
159 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_r()
161 HW_BREAKPOINT_R == evsel->attr.bp_type); in test__checkevent_breakpoint_r()
163 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_r()
173 PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_w()
174 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_w()
176 HW_BREAKPOINT_W == evsel->attr.bp_type); in test__checkevent_breakpoint_w()
178 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_w()
188 PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_rw()
189 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_rw()
191 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->attr.bp_type); in test__checkevent_breakpoint_rw()
193 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_rw()
201 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_tracepoint_modifier()
202 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_tracepoint_modifier()
203 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_tracepoint_modifier()
204 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_tracepoint_modifier()
218 !evsel->attr.exclude_user); in test__checkevent_tracepoint_multi_modifier()
220 evsel->attr.exclude_kernel); in test__checkevent_tracepoint_multi_modifier()
221 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_tracepoint_multi_modifier()
222 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_tracepoint_multi_modifier()
232 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_raw_modifier()
233 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_raw_modifier()
234 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_raw_modifier()
235 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_raw_modifier()
244 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_numeric_modifier()
245 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_numeric_modifier()
246 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_numeric_modifier()
247 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_numeric_modifier()
256 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_symbolic_name_modifier()
257 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_symbolic_name_modifier()
258 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_symbolic_name_modifier()
259 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_symbolic_name_modifier()
268 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__checkevent_exclude_host_modifier()
269 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__checkevent_exclude_host_modifier()
278 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__checkevent_exclude_guest_modifier()
279 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__checkevent_exclude_guest_modifier()
288 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_symbolic_alias_modifier()
289 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_symbolic_alias_modifier()
290 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_symbolic_alias_modifier()
291 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_symbolic_alias_modifier()
300 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_genhw_modifier()
301 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_genhw_modifier()
302 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_genhw_modifier()
303 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_genhw_modifier()
312 TEST_ASSERT_VAL("wrong exclude idle", evsel->attr.exclude_idle); in test__checkevent_exclude_idle_modifier()
313 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__checkevent_exclude_idle_modifier()
314 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__checkevent_exclude_idle_modifier()
315 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_exclude_idle_modifier()
316 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_exclude_idle_modifier()
317 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_exclude_idle_modifier()
318 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_exclude_idle_modifier()
327 TEST_ASSERT_VAL("wrong exclude idle", evsel->attr.exclude_idle); in test__checkevent_exclude_idle_modifier_1()
328 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__checkevent_exclude_idle_modifier_1()
329 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__checkevent_exclude_idle_modifier_1()
330 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_exclude_idle_modifier_1()
331 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_exclude_idle_modifier_1()
332 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_exclude_idle_modifier_1()
333 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_exclude_idle_modifier_1()
343 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_breakpoint_modifier()
344 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_breakpoint_modifier()
345 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_breakpoint_modifier()
346 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_breakpoint_modifier()
357 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_breakpoint_x_modifier()
358 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_breakpoint_x_modifier()
359 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_breakpoint_x_modifier()
360 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_breakpoint_x_modifier()
371 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_breakpoint_r_modifier()
372 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_breakpoint_r_modifier()
373 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_breakpoint_r_modifier()
374 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_breakpoint_r_modifier()
385 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_breakpoint_w_modifier()
386 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_breakpoint_w_modifier()
387 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_breakpoint_w_modifier()
388 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_breakpoint_w_modifier()
399 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_breakpoint_rw_modifier()
400 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_breakpoint_rw_modifier()
401 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_breakpoint_rw_modifier()
402 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_breakpoint_rw_modifier()
415 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu()
416 TEST_ASSERT_VAL("wrong config", 10 == evsel->attr.config); in test__checkevent_pmu()
417 TEST_ASSERT_VAL("wrong config1", 1 == evsel->attr.config1); in test__checkevent_pmu()
418 TEST_ASSERT_VAL("wrong config2", 3 == evsel->attr.config2); in test__checkevent_pmu()
423 TEST_ASSERT_VAL("wrong period", 0 == evsel->attr.sample_period); in test__checkevent_pmu()
435 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_list()
436 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_list()
437 TEST_ASSERT_VAL("wrong config1", 0 == evsel->attr.config1); in test__checkevent_list()
438 TEST_ASSERT_VAL("wrong config2", 0 == evsel->attr.config2); in test__checkevent_list()
439 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_list()
440 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_list()
441 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_list()
442 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_list()
446 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__checkevent_list()
448 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__checkevent_list()
449 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__checkevent_list()
450 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_list()
451 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__checkevent_list()
452 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_list()
453 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_list()
457 TEST_ASSERT_VAL("wrong type", 1 == evsel->attr.type); in test__checkevent_list()
458 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_list()
459 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__checkevent_list()
460 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_list()
461 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__checkevent_list()
462 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_list()
473 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_name()
474 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_pmu_name()
480 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_name()
481 TEST_ASSERT_VAL("wrong config", 2 == evsel->attr.config); in test__checkevent_pmu_name()
494 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_partial_time_callgraph()
495 TEST_ASSERT_VAL("wrong config", 1 == evsel->attr.config); in test__checkevent_pmu_partial_time_callgraph()
501 TEST_ASSERT_VAL("wrong period", 0 == evsel->attr.sample_period); in test__checkevent_pmu_partial_time_callgraph()
503 TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->attr.sample_type)); in test__checkevent_pmu_partial_time_callgraph()
507 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_partial_time_callgraph()
508 TEST_ASSERT_VAL("wrong config", 2 == evsel->attr.config); in test__checkevent_pmu_partial_time_callgraph()
514 TEST_ASSERT_VAL("wrong period", 0 == evsel->attr.sample_period); in test__checkevent_pmu_partial_time_callgraph()
516 TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->attr.sample_type)); in test__checkevent_pmu_partial_time_callgraph()
526 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_events()
528 !evsel->attr.exclude_user); in test__checkevent_pmu_events()
530 evsel->attr.exclude_kernel); in test__checkevent_pmu_events()
531 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_pmu_events()
532 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_pmu_events()
533 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events()
546 !evsel->attr.exclude_user); in test__checkevent_pmu_events_mix()
548 evsel->attr.exclude_kernel); in test__checkevent_pmu_events_mix()
549 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_pmu_events_mix()
550 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_pmu_events_mix()
551 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix()
556 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->attr.type); in test__checkevent_pmu_events_mix()
558 !evsel->attr.exclude_user); in test__checkevent_pmu_events_mix()
560 evsel->attr.exclude_kernel); in test__checkevent_pmu_events_mix()
561 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_pmu_events_mix()
562 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_pmu_events_mix()
563 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix()
620 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group1()
622 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__group1()
623 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__group1()
624 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group1()
625 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group1()
626 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group1()
627 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group1()
628 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group1()
636 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group1()
638 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group1()
639 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group1()
640 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group1()
641 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group1()
643 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group1()
644 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group1()
645 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip == 2); in test__group1()
662 TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->attr.type); in test__group2()
664 PERF_COUNT_SW_PAGE_FAULTS == evsel->attr.config); in test__group2()
665 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group2()
666 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group2()
667 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group2()
668 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group2()
669 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group2()
670 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group2()
678 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group2()
680 PERF_COUNT_HW_CACHE_REFERENCES == evsel->attr.config); in test__group2()
681 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group2()
682 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group2()
683 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group2()
684 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group2()
685 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group2()
686 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group2()
693 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group2()
695 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group2()
696 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__group2()
697 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group2()
698 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group2()
699 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group2()
700 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group2()
701 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group2()
717 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->attr.type); in test__group3()
719 PERF_TP_SAMPLE_TYPE == evsel->attr.sample_type); in test__group3()
720 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->attr.sample_period); in test__group3()
721 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group3()
722 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group3()
723 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group3()
724 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group3()
725 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group3()
726 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group3()
736 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group3()
738 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group3()
739 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__group3()
740 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group3()
741 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group3()
743 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group3()
744 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group3()
745 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip == 3); in test__group3()
753 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group3()
755 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group3()
756 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group3()
757 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group3()
758 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group3()
759 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group3()
760 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group3()
761 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group3()
771 TEST_ASSERT_VAL("wrong type", 1 == evsel->attr.type); in test__group3()
772 TEST_ASSERT_VAL("wrong config", 3 == evsel->attr.config); in test__group3()
773 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group3()
774 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group3()
775 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group3()
776 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group3()
777 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group3()
778 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group3()
785 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group3()
787 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__group3()
788 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group3()
789 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group3()
790 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group3()
791 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group3()
792 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group3()
793 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group3()
809 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group4()
811 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group4()
812 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group4()
813 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group4()
814 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group4()
816 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group4()
817 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group4()
818 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip == 1); in test__group4()
827 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group4()
829 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__group4()
830 TEST_ASSERT_VAL("wrong exclude_user", evsel->attr.exclude_user); in test__group4()
831 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group4()
832 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group4()
834 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group4()
835 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group4()
836 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip == 2); in test__group4()
853 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group5()
855 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group5()
856 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group5()
857 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group5()
858 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group5()
859 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group5()
860 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group5()
861 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group5()
870 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group5()
872 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__group5()
873 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group5()
874 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group5()
875 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group5()
876 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group5()
877 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group5()
878 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group5()
885 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group5()
887 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group5()
888 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group5()
889 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group5()
890 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group5()
891 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group5()
892 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group5()
893 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group5()
902 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group5()
904 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__group5()
905 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group5()
906 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group5()
907 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group5()
908 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group5()
909 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group5()
910 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group5()
916 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group5()
918 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group5()
919 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group5()
920 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group5()
921 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group5()
922 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group5()
923 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group5()
924 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group5()
939 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh1()
941 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group_gh1()
942 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh1()
943 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group_gh1()
944 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group_gh1()
945 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group_gh1()
946 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group_gh1()
947 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh1()
955 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh1()
957 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__group_gh1()
958 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh1()
959 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group_gh1()
960 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group_gh1()
961 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh1()
962 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group_gh1()
963 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh1()
979 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh2()
981 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group_gh2()
982 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh2()
983 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group_gh2()
984 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group_gh2()
985 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh2()
986 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group_gh2()
987 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh2()
995 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh2()
997 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__group_gh2()
998 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh2()
999 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__group_gh2()
1000 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__group_gh2()
1001 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh2()
1002 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group_gh2()
1003 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh2()
1019 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh3()
1021 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group_gh3()
1022 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh3()
1023 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group_gh3()
1024 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group_gh3()
1025 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh3()
1026 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group_gh3()
1027 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh3()
1035 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh3()
1037 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__group_gh3()
1038 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh3()
1039 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group_gh3()
1040 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group_gh3()
1041 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__group_gh3()
1042 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group_gh3()
1043 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh3()
1059 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh4()
1061 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__group_gh4()
1062 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh4()
1063 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group_gh4()
1064 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group_gh4()
1065 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh4()
1066 TEST_ASSERT_VAL("wrong exclude host", evsel->attr.exclude_host); in test__group_gh4()
1067 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh4()
1075 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__group_gh4()
1077 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__group_gh4()
1078 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__group_gh4()
1079 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__group_gh4()
1080 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__group_gh4()
1081 TEST_ASSERT_VAL("wrong exclude guest", !evsel->attr.exclude_guest); in test__group_gh4()
1082 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__group_gh4()
1083 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__group_gh4()
1098 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__leader_sample1()
1100 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__leader_sample1()
1101 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__leader_sample1()
1102 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__leader_sample1()
1103 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__leader_sample1()
1104 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__leader_sample1()
1105 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__leader_sample1()
1106 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__leader_sample1()
1113 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__leader_sample1()
1115 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__leader_sample1()
1116 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__leader_sample1()
1117 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__leader_sample1()
1118 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__leader_sample1()
1119 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__leader_sample1()
1120 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__leader_sample1()
1121 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__leader_sample1()
1127 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__leader_sample1()
1129 PERF_COUNT_HW_BRANCH_MISSES == evsel->attr.config); in test__leader_sample1()
1130 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__leader_sample1()
1131 TEST_ASSERT_VAL("wrong exclude_kernel", !evsel->attr.exclude_kernel); in test__leader_sample1()
1132 TEST_ASSERT_VAL("wrong exclude_hv", !evsel->attr.exclude_hv); in test__leader_sample1()
1133 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__leader_sample1()
1134 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__leader_sample1()
1135 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__leader_sample1()
1151 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__leader_sample2()
1153 PERF_COUNT_HW_INSTRUCTIONS == evsel->attr.config); in test__leader_sample2()
1154 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__leader_sample2()
1155 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__leader_sample2()
1156 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__leader_sample2()
1157 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__leader_sample2()
1158 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__leader_sample2()
1159 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__leader_sample2()
1166 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__leader_sample2()
1168 PERF_COUNT_HW_BRANCH_MISSES == evsel->attr.config); in test__leader_sample2()
1169 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__leader_sample2()
1170 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__leader_sample2()
1171 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__leader_sample2()
1172 TEST_ASSERT_VAL("wrong exclude guest", evsel->attr.exclude_guest); in test__leader_sample2()
1173 TEST_ASSERT_VAL("wrong exclude host", !evsel->attr.exclude_host); in test__leader_sample2()
1174 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__leader_sample2()
1186 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_pinned_modifier()
1187 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_pinned_modifier()
1188 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_pinned_modifier()
1189 TEST_ASSERT_VAL("wrong precise_ip", evsel->attr.precise_ip); in test__checkevent_pinned_modifier()
1190 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__checkevent_pinned_modifier()
1203 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__pinned_group()
1205 PERF_COUNT_HW_CPU_CYCLES == evsel->attr.config); in test__pinned_group()
1208 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__pinned_group()
1212 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->attr.type); in test__pinned_group()
1214 PERF_COUNT_HW_CACHE_MISSES == evsel->attr.config); in test__pinned_group()
1215 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group()
1220 PERF_COUNT_HW_BRANCH_MISSES == evsel->attr.config); in test__pinned_group()
1221 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group()
1231 TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_len()
1232 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_len()
1234 evsel->attr.bp_type); in test__checkevent_breakpoint_len()
1236 evsel->attr.bp_len); in test__checkevent_breakpoint_len()
1246 TEST_ASSERT_VAL("wrong type", PERF_TYPE_BREAKPOINT == evsel->attr.type); in test__checkevent_breakpoint_len_w()
1247 TEST_ASSERT_VAL("wrong config", 0 == evsel->attr.config); in test__checkevent_breakpoint_len_w()
1249 evsel->attr.bp_type); in test__checkevent_breakpoint_len_w()
1251 evsel->attr.bp_len); in test__checkevent_breakpoint_len_w()
1261 TEST_ASSERT_VAL("wrong exclude_user", !evsel->attr.exclude_user); in test__checkevent_breakpoint_len_rw_modifier()
1262 TEST_ASSERT_VAL("wrong exclude_kernel", evsel->attr.exclude_kernel); in test__checkevent_breakpoint_len_rw_modifier()
1263 TEST_ASSERT_VAL("wrong exclude_hv", evsel->attr.exclude_hv); in test__checkevent_breakpoint_len_rw_modifier()
1264 TEST_ASSERT_VAL("wrong precise_ip", !evsel->attr.precise_ip); in test__checkevent_breakpoint_len_rw_modifier()
1274 TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->attr.type); in test__checkevent_precise_max_modifier()
1276 PERF_COUNT_SW_TASK_CLOCK == evsel->attr.config); in test__checkevent_precise_max_modifier()