Lines Matching refs:test_config

37 static bool test_config(const struct evsel *evsel, __u64 expected_config)  in test_config()  function
161 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_numeric()
205 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_SW_PAGE_FAULTS)); in test__checkevent_symbolic_alias()
228 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint()
242 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_x()
256 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_r()
271 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_w()
286 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_rw()
609 TEST_ASSERT_VAL("wrong config", test_config(evsel, 10)); in test__checkevent_pmu()
632 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_list()
656 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_list()
673 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_pmu_name()
680 TEST_ASSERT_VAL("wrong config", test_config(evsel, 2)); in test__checkevent_pmu_name()
694 TEST_ASSERT_VAL("wrong config", test_config(evsel, 1)); in test__checkevent_pmu_partial_time_callgraph()
706 TEST_ASSERT_VAL("wrong config", test_config(evsel, 2)); in test__checkevent_pmu_partial_time_callgraph()
867 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__group1()
882 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group1()
914 test_config(evsel, PERF_COUNT_SW_PAGE_FAULTS)); in test__group2()
928 test_config(evsel, PERF_COUNT_HW_CACHE_REFERENCES)) { in test__group2()
943 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group2()
991 test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)) { in test__group3()
1035 TEST_ASSERT_VAL("wrong config", test_config(evsel, 3)); in test__group3()
1049 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__group3()
1076 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group4()
1093 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__group4()
1121 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5()
1137 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__group5()
1152 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5()
1168 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__group5()
1182 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group5()
1207 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group_gh1()
1222 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__group_gh1()
1248 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group_gh2()
1263 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__group_gh2()
1289 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group_gh3()
1304 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__group_gh3()
1330 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__group_gh4()
1345 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__group_gh4()
1369 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__leader_sample1()
1383 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__leader_sample1()
1396 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_MISSES)); in test__leader_sample1()
1421 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_INSTRUCTIONS)); in test__leader_sample2()
1435 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_MISSES)); in test__leader_sample2()
1478 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__pinned_group()
1488 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__pinned_group()
1493 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_MISSES)); in test__pinned_group()
1523 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__exclusive_group()
1533 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CACHE_MISSES)); in test__exclusive_group()
1538 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_BRANCH_MISSES)); in test__exclusive_group()
1549 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_len()
1564 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0)); in test__checkevent_breakpoint_len_w()
1593 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_SW_TASK_CLOCK)); in test__checkevent_precise_max_modifier()
1673 TEST_ASSERT_VAL("wrong config", test_config(evsel, 0x1a)); in test__checkevent_raw_pmu()
1682 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__sym_event_slash()
1692 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__sym_event_dc()
1702 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__term_equal_term()
1712 TEST_ASSERT_VAL("wrong config", test_config(evsel, PERF_COUNT_HW_CPU_CYCLES)); in test__term_equal_legacy()