Home
last modified time | relevance | path

Searched refs:test_event (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/tests/
H A Dpmu-events.c346 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event() argument
349 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event()
364 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
367 test_event->alias_long_desc); in compare_alias_to_test_event()
377 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
379 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event()
383 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
385 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
389 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event()
392 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
[all …]
H A Dhwmon_pmu.c13 static const struct test_event { struct
151 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test() local
165 snprintf(str, sizeof(str), "hwmon_a_test_hwmon_pmu/%s/", test_event); in do_test()
167 strlcpy(str, test_event, sizeof(str)); in do_test()
H A Dparse-events.c2459 static int test_event(const struct evlist_test *e) in test_event() function
2537 test_ret = test_event(e); in test_events()
2674 test_ret = test_event(&e); in test__pmu_events()
2700 test_ret = test_event(&e); in test__pmu_events()
2795 return test_event(&e); in test__pmu_events_alias()
/linux/tools/testing/selftests/net/
H A Dlink_netns.py15 def test_event() -> None: function
136 ksft_run([test_event, test_link_net, test_peer_net])
/linux/tools/perf/arch/x86/tests/
H A Dhybrid.c243 static int test_event(const struct evlist_test *e) in test_event() function
294 test_ret = test_event(e); in test_events()