Lines Matching refs:evlist

85 static int test__checkevent_tracepoint(struct evlist *evlist)  in test__checkevent_tracepoint()  argument
87 struct evsel *evsel = evlist__first(evlist); in test__checkevent_tracepoint()
89 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint()
90 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist__nr_groups(evlist)); in test__checkevent_tracepoint()
98 static int test__checkevent_tracepoint_multi(struct evlist *evlist) in test__checkevent_tracepoint_multi() argument
102 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi()
103 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist__nr_groups(evlist)); in test__checkevent_tracepoint_multi()
105 evlist__for_each_entry(evlist, evsel) { in test__checkevent_tracepoint_multi()
117 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw() argument
122 TEST_ASSERT_VAL("wrong number of entries", 0 != evlist->core.nr_entries); in test__checkevent_raw()
124 perf_evlist__for_each_evsel(&evlist->core, evsel) { in test__checkevent_raw()
155 static int test__checkevent_numeric(struct evlist *evlist) in test__checkevent_numeric() argument
157 struct evsel *evsel = evlist__first(evlist); in test__checkevent_numeric()
159 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_numeric()
165 static int test__checkevent_symbolic_name(struct evlist *evlist) in test__checkevent_symbolic_name() argument
169 TEST_ASSERT_VAL("wrong number of entries", 0 != evlist->core.nr_entries); in test__checkevent_symbolic_name()
171 perf_evlist__for_each_evsel(&evlist->core, evsel) { in test__checkevent_symbolic_name()
179 static int test__checkevent_symbolic_name_config(struct evlist *evlist) in test__checkevent_symbolic_name_config() argument
183 TEST_ASSERT_VAL("wrong number of entries", 0 != evlist->core.nr_entries); in test__checkevent_symbolic_name_config()
185 perf_evlist__for_each_evsel(&evlist->core, evsel) { in test__checkevent_symbolic_name_config()
199 static int test__checkevent_symbolic_alias(struct evlist *evlist) in test__checkevent_symbolic_alias() argument
201 struct evsel *evsel = evlist__first(evlist); in test__checkevent_symbolic_alias()
203 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_symbolic_alias()
209 static int test__checkevent_genhw(struct evlist *evlist) in test__checkevent_genhw() argument
213 TEST_ASSERT_VAL("wrong number of entries", 0 != evlist->core.nr_entries); in test__checkevent_genhw()
215 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_genhw()
222 static int test__checkevent_breakpoint(struct evlist *evlist) in test__checkevent_breakpoint() argument
224 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint()
226 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint()
236 static int test__checkevent_breakpoint_x(struct evlist *evlist) in test__checkevent_breakpoint_x() argument
238 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_x()
240 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_x()
249 static int test__checkevent_breakpoint_r(struct evlist *evlist) in test__checkevent_breakpoint_r() argument
251 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_r()
253 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_r()
264 static int test__checkevent_breakpoint_w(struct evlist *evlist) in test__checkevent_breakpoint_w() argument
266 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_w()
268 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_w()
279 static int test__checkevent_breakpoint_rw(struct evlist *evlist) in test__checkevent_breakpoint_rw() argument
281 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_rw()
283 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_rw()
295 static int test__checkevent_tracepoint_modifier(struct evlist *evlist) in test__checkevent_tracepoint_modifier() argument
297 struct evsel *evsel = evlist__first(evlist); in test__checkevent_tracepoint_modifier()
304 return test__checkevent_tracepoint(evlist); in test__checkevent_tracepoint_modifier()
308 test__checkevent_tracepoint_multi_modifier(struct evlist *evlist) in test__checkevent_tracepoint_multi_modifier() argument
312 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi_modifier()
314 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_tracepoint_multi_modifier()
321 return test__checkevent_tracepoint_multi(evlist); in test__checkevent_tracepoint_multi_modifier()
325 static int test__checkevent_raw_modifier(struct evlist *evlist) in test__checkevent_raw_modifier() argument
329 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_raw_modifier()
335 return test__checkevent_raw(evlist); in test__checkevent_raw_modifier()
338 static int test__checkevent_numeric_modifier(struct evlist *evlist) in test__checkevent_numeric_modifier() argument
342 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_numeric_modifier()
348 return test__checkevent_numeric(evlist); in test__checkevent_numeric_modifier()
351 static int test__checkevent_symbolic_name_modifier(struct evlist *evlist) in test__checkevent_symbolic_name_modifier() argument
356 evlist->core.nr_entries == num_core_entries()); in test__checkevent_symbolic_name_modifier()
358 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_symbolic_name_modifier()
364 return test__checkevent_symbolic_name(evlist); in test__checkevent_symbolic_name_modifier()
367 static int test__checkevent_exclude_host_modifier(struct evlist *evlist) in test__checkevent_exclude_host_modifier() argument
371 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_exclude_host_modifier()
375 return test__checkevent_symbolic_name(evlist); in test__checkevent_exclude_host_modifier()
378 static int test__checkevent_exclude_guest_modifier(struct evlist *evlist) in test__checkevent_exclude_guest_modifier() argument
382 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_exclude_guest_modifier()
386 return test__checkevent_symbolic_name(evlist); in test__checkevent_exclude_guest_modifier()
389 static int test__checkevent_symbolic_alias_modifier(struct evlist *evlist) in test__checkevent_symbolic_alias_modifier() argument
391 struct evsel *evsel = evlist__first(evlist); in test__checkevent_symbolic_alias_modifier()
398 return test__checkevent_symbolic_alias(evlist); in test__checkevent_symbolic_alias_modifier()
401 static int test__checkevent_genhw_modifier(struct evlist *evlist) in test__checkevent_genhw_modifier() argument
405 perf_evlist__for_each_entry(&evlist->core, evsel) { in test__checkevent_genhw_modifier()
411 return test__checkevent_genhw(evlist); in test__checkevent_genhw_modifier()
414 static int test__checkevent_exclude_idle_modifier(struct evlist *evlist) in test__checkevent_exclude_idle_modifier() argument
416 struct evsel *evsel = evlist__first(evlist); in test__checkevent_exclude_idle_modifier()
426 return test__checkevent_symbolic_name(evlist); in test__checkevent_exclude_idle_modifier()
429 static int test__checkevent_exclude_idle_modifier_1(struct evlist *evlist) in test__checkevent_exclude_idle_modifier_1() argument
431 struct evsel *evsel = evlist__first(evlist); in test__checkevent_exclude_idle_modifier_1()
441 return test__checkevent_symbolic_name(evlist); in test__checkevent_exclude_idle_modifier_1()
444 static int test__checkevent_breakpoint_modifier(struct evlist *evlist) in test__checkevent_breakpoint_modifier() argument
446 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_modifier()
456 return test__checkevent_breakpoint(evlist); in test__checkevent_breakpoint_modifier()
459 static int test__checkevent_breakpoint_x_modifier(struct evlist *evlist) in test__checkevent_breakpoint_x_modifier() argument
461 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_x_modifier()
470 return test__checkevent_breakpoint_x(evlist); in test__checkevent_breakpoint_x_modifier()
473 static int test__checkevent_breakpoint_r_modifier(struct evlist *evlist) in test__checkevent_breakpoint_r_modifier() argument
475 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_r_modifier()
484 return test__checkevent_breakpoint_r(evlist); in test__checkevent_breakpoint_r_modifier()
487 static int test__checkevent_breakpoint_w_modifier(struct evlist *evlist) in test__checkevent_breakpoint_w_modifier() argument
489 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_w_modifier()
498 return test__checkevent_breakpoint_w(evlist); in test__checkevent_breakpoint_w_modifier()
501 static int test__checkevent_breakpoint_rw_modifier(struct evlist *evlist) in test__checkevent_breakpoint_rw_modifier() argument
503 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_rw_modifier()
512 return test__checkevent_breakpoint_rw(evlist); in test__checkevent_breakpoint_rw_modifier()
515 static int test__checkevent_breakpoint_modifier_name(struct evlist *evlist) in test__checkevent_breakpoint_modifier_name() argument
517 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_modifier_name()
526 return test__checkevent_breakpoint(evlist); in test__checkevent_breakpoint_modifier_name()
529 static int test__checkevent_breakpoint_x_modifier_name(struct evlist *evlist) in test__checkevent_breakpoint_x_modifier_name() argument
531 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_x_modifier_name()
540 return test__checkevent_breakpoint_x(evlist); in test__checkevent_breakpoint_x_modifier_name()
543 static int test__checkevent_breakpoint_r_modifier_name(struct evlist *evlist) in test__checkevent_breakpoint_r_modifier_name() argument
545 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_r_modifier_name()
554 return test__checkevent_breakpoint_r(evlist); in test__checkevent_breakpoint_r_modifier_name()
557 static int test__checkevent_breakpoint_w_modifier_name(struct evlist *evlist) in test__checkevent_breakpoint_w_modifier_name() argument
559 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_w_modifier_name()
568 return test__checkevent_breakpoint_w(evlist); in test__checkevent_breakpoint_w_modifier_name()
571 static int test__checkevent_breakpoint_rw_modifier_name(struct evlist *evlist) in test__checkevent_breakpoint_rw_modifier_name() argument
573 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_rw_modifier_name()
582 return test__checkevent_breakpoint_rw(evlist); in test__checkevent_breakpoint_rw_modifier_name()
585 static int test__checkevent_breakpoint_2_events(struct evlist *evlist) in test__checkevent_breakpoint_2_events() argument
587 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_2_events()
589 TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); in test__checkevent_breakpoint_2_events()
602 static int test__checkevent_pmu(struct evlist *evlist) in test__checkevent_pmu() argument
605 struct evsel *evsel = evlist__first(evlist); in test__checkevent_pmu()
607 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_pmu()
623 static int test__checkevent_list(struct evlist *evlist) in test__checkevent_list() argument
625 struct evsel *evsel = evlist__first(evlist); in test__checkevent_list()
627 TEST_ASSERT_VAL("wrong number of entries", 3 <= evlist->core.nr_entries); in test__checkevent_list()
666 static int test__checkevent_pmu_name(struct evlist *evlist) in test__checkevent_pmu_name() argument
668 struct evsel *evsel = evlist__first(evlist); in test__checkevent_pmu_name()
671 TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); in test__checkevent_pmu_name()
678 TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); in test__checkevent_pmu_name()
687 static int test__checkevent_pmu_partial_time_callgraph(struct evlist *evlist) in test__checkevent_pmu_partial_time_callgraph() argument
689 struct evsel *evsel = evlist__first(evlist); in test__checkevent_pmu_partial_time_callgraph()
692 TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); in test__checkevent_pmu_partial_time_callgraph()
718 static int test__checkevent_pmu_events(struct evlist *evlist) in test__checkevent_pmu_events() argument
720 struct evsel *evsel = evlist__first(evlist); in test__checkevent_pmu_events()
722 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_pmu_events()
738 static int test__checkevent_pmu_events_mix(struct evlist *evlist) in test__checkevent_pmu_events_mix() argument
746 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries >= 2); in test__checkevent_pmu_events_mix()
747 for (int i = 0; i < evlist->core.nr_entries - 1; i++) { in test__checkevent_pmu_events_mix()
748 evsel = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__checkevent_pmu_events_mix()
854 static int test__group1(struct evlist *evlist) in test__group1() argument
859 evlist->core.nr_entries == (num_core_entries() * 2)); in test__group1()
861 evlist__nr_groups(evlist) == num_core_entries()); in test__group1()
865 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group1()
897 static int test__group2(struct evlist *evlist) in test__group2() argument
902 evlist->core.nr_entries == (2 * num_core_entries() + 1)); in test__group2()
907 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist__nr_groups(evlist)); in test__group2()
909 evlist__for_each_entry(evlist, evsel) { in test__group2()
957 static int test__group3(struct evlist *evlist __maybe_unused) in test__group3()
962 evlist->core.nr_entries == (3 * perf_pmus__num_core_pmus() + 2)); in test__group3()
968 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist__nr_groups(evlist)); in test__group3()
970 evlist__for_each_entry(evlist, evsel) { in test__group3()
1063 static int test__group4(struct evlist *evlist __maybe_unused) in test__group4()
1068 evlist->core.nr_entries == (num_core_entries() * 2)); in test__group4()
1070 num_core_entries() == evlist__nr_groups(evlist)); in test__group4()
1074 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group4()
1108 static int test__group5(struct evlist *evlist __maybe_unused) in test__group5()
1113 evlist->core.nr_entries == (5 * num_core_entries())); in test__group5()
1115 evlist__nr_groups(evlist) == (2 * num_core_entries())); in test__group5()
1119 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group5()
1194 static int test__group_gh1(struct evlist *evlist) in test__group_gh1() argument
1199 evlist->core.nr_entries == (2 * num_core_entries())); in test__group_gh1()
1201 evlist__nr_groups(evlist) == num_core_entries()); in test__group_gh1()
1205 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group_gh1()
1235 static int test__group_gh2(struct evlist *evlist) in test__group_gh2() argument
1240 evlist->core.nr_entries == (2 * num_core_entries())); in test__group_gh2()
1242 evlist__nr_groups(evlist) == num_core_entries()); in test__group_gh2()
1246 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group_gh2()
1276 static int test__group_gh3(struct evlist *evlist) in test__group_gh3() argument
1281 evlist->core.nr_entries == (2 * num_core_entries())); in test__group_gh3()
1283 evlist__nr_groups(evlist) == num_core_entries()); in test__group_gh3()
1287 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group_gh3()
1317 static int test__group_gh4(struct evlist *evlist) in test__group_gh4() argument
1322 evlist->core.nr_entries == (2 * num_core_entries())); in test__group_gh4()
1324 evlist__nr_groups(evlist) == num_core_entries()); in test__group_gh4()
1328 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__group_gh4()
1358 static int test__leader_sample1(struct evlist *evlist) in test__leader_sample1() argument
1363 evlist->core.nr_entries == (3 * num_core_entries())); in test__leader_sample1()
1367 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__leader_sample1()
1410 static int test__leader_sample2(struct evlist *evlist __maybe_unused) in test__leader_sample2()
1415 evlist->core.nr_entries == (2 * num_core_entries())); in test__leader_sample2()
1419 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__leader_sample2()
1449 static int test__checkevent_pinned_modifier(struct evlist *evlist) in test__checkevent_pinned_modifier() argument
1454 evlist->core.nr_entries == num_core_entries()); in test__checkevent_pinned_modifier()
1457 evsel = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__checkevent_pinned_modifier()
1464 return test__checkevent_symbolic_name(evlist); in test__checkevent_pinned_modifier()
1467 static int test__pinned_group(struct evlist *evlist) in test__pinned_group() argument
1472 evlist->core.nr_entries == (3 * num_core_entries())); in test__pinned_group()
1476 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__pinned_group()
1499 static int test__checkevent_exclusive_modifier(struct evlist *evlist) in test__checkevent_exclusive_modifier() argument
1501 struct evsel *evsel = evlist__first(evlist); in test__checkevent_exclusive_modifier()
1509 return test__checkevent_symbolic_name(evlist); in test__checkevent_exclusive_modifier()
1512 static int test__exclusive_group(struct evlist *evlist) in test__exclusive_group() argument
1517 evlist->core.nr_entries == 3 * num_core_entries()); in test__exclusive_group()
1521 evsel = leader = (i == 0 ? evlist__first(evlist) : evsel__next(evsel)); in test__exclusive_group()
1543 static int test__checkevent_breakpoint_len(struct evlist *evlist) in test__checkevent_breakpoint_len() argument
1545 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_len()
1547 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_len()
1558 static int test__checkevent_breakpoint_len_w(struct evlist *evlist) in test__checkevent_breakpoint_len_w() argument
1560 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_len_w()
1562 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_breakpoint_len_w()
1574 test__checkevent_breakpoint_len_rw_modifier(struct evlist *evlist) in test__checkevent_breakpoint_len_rw_modifier() argument
1576 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_len_rw_modifier()
1583 return test__checkevent_breakpoint_rw(evlist); in test__checkevent_breakpoint_len_rw_modifier()
1586 static int test__checkevent_precise_max_modifier(struct evlist *evlist) in test__checkevent_precise_max_modifier() argument
1588 struct evsel *evsel = evlist__first(evlist); in test__checkevent_precise_max_modifier()
1591 evlist->core.nr_entries == 1 + num_core_entries()); in test__checkevent_precise_max_modifier()
1597 static int test__checkevent_config_symbol(struct evlist *evlist) in test__checkevent_config_symbol() argument
1599 struct evsel *evsel = evlist__first(evlist); in test__checkevent_config_symbol()
1605 static int test__checkevent_config_raw(struct evlist *evlist) in test__checkevent_config_raw() argument
1607 struct evsel *evsel = evlist__first(evlist); in test__checkevent_config_raw()
1613 static int test__checkevent_config_num(struct evlist *evlist) in test__checkevent_config_num() argument
1615 struct evsel *evsel = evlist__first(evlist); in test__checkevent_config_num()
1621 static int test__checkevent_config_cache(struct evlist *evlist) in test__checkevent_config_cache() argument
1623 struct evsel *evsel = evlist__first(evlist); in test__checkevent_config_cache()
1626 return test__checkevent_genhw(evlist); in test__checkevent_config_cache()
1649 static int test__intel_pt(struct evlist *evlist) in test__intel_pt() argument
1651 struct evsel *evsel = evlist__first(evlist); in test__intel_pt()
1657 static int test__checkevent_complex_name(struct evlist *evlist) in test__checkevent_complex_name() argument
1659 struct evsel *evsel = evlist__first(evlist); in test__checkevent_complex_name()
1667 static int test__checkevent_raw_pmu(struct evlist *evlist) in test__checkevent_raw_pmu() argument
1669 struct evsel *evsel = evlist__first(evlist); in test__checkevent_raw_pmu()
1671 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_raw_pmu()
1677 static int test__sym_event_slash(struct evlist *evlist) in test__sym_event_slash() argument
1679 struct evsel *evsel = evlist__first(evlist); in test__sym_event_slash()
1687 static int test__sym_event_dc(struct evlist *evlist) in test__sym_event_dc() argument
1689 struct evsel *evsel = evlist__first(evlist); in test__sym_event_dc()
1697 static int test__term_equal_term(struct evlist *evlist) in test__term_equal_term() argument
1699 struct evsel *evsel = evlist__first(evlist); in test__term_equal_term()
1707 static int test__term_equal_legacy(struct evlist *evlist) in test__term_equal_legacy() argument
1709 struct evsel *evsel = evlist__first(evlist); in test__term_equal_legacy()
1764 static int test__all_tracepoints(struct evlist *evlist) in test__all_tracepoints() argument
1767 count_tracepoints() == evlist->core.nr_entries); in test__all_tracepoints()
1769 return test__checkevent_tracepoint_multi(evlist); in test__all_tracepoints()
1776 int (*check)(struct evlist *evlist);
2379 struct evlist *evlist; in test_event() local
2387 evlist = evlist__new(); in test_event()
2388 if (evlist == NULL) { in test_event()
2393 ret = parse_events(evlist, e->name, &err); in test_event()
2402 ret = e->check(evlist); in test_event()
2405 evlist__delete(evlist); in test_event()
2413 struct evlist *evlist; in test_event_fake_pmu() local
2416 evlist = evlist__new(); in test_event_fake_pmu()
2417 if (!evlist) in test_event_fake_pmu()
2421 ret = __parse_events(evlist, str, /*pmu_filter=*/NULL, &err, in test_event_fake_pmu()
2430 evlist__delete(evlist); in test_event_fake_pmu()
2652 static int test__checkevent_pmu_events_alias(struct evlist *evlist) in test__checkevent_pmu_events_alias() argument
2654 struct evsel *evsel1 = evlist__first(evlist); in test__checkevent_pmu_events_alias()
2655 struct evsel *evsel2 = evlist__last(evlist); in test__checkevent_pmu_events_alias()