Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/tests/
H A Dpmu-events.c366 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event() argument
387 test_event->alias_long_desc); in compare_alias_to_test_event()
397 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
399 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event()
523 struct perf_pmu_test_event const *test_event; member
577 .test_event = &test_event, in __test_core_pmu_event_aliases()
582 test_event.event.pmu = pmu_name; in __test_core_pmu_event_aliases()
625 struct perf_pmu_test_event test_event = **table; in __test_uncore_pmu_event_aliases() local
629 .test_event = &test_event, in __test_uncore_pmu_event_aliases()
633 if (strcmp(pmu_name, test_event.matching_pmu)) { in __test_uncore_pmu_event_aliases()
[all …]
H A Dhwmon_pmu.c13 static const struct test_event { struct
150 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test() local
164 snprintf(str, sizeof(str), "hwmon_a_test_hwmon_pmu/%s/", test_event); in do_test()
166 strlcpy(str, test_event, sizeof(str)); in do_test()
H A Dpmu.c62 const char *test_event = "krava01=15,krava02=170,krava03=1,krava11=27,krava12=1," in test_pmu_get() local
137 len = strlen(test_event); in test_pmu_get()
138 if (write(file, test_event, len) < len) { in test_pmu_get()
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-6.15/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-6.15/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()