Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dpmu-events.c366 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event() argument
369 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event()
384 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
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()
403 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
405 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
409 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event()
412 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
[all …]
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.c2486 static int test_event(const struct evlist_test *e) in test_event() function
2564 test_ret = test_event(e); in test_events()
2701 test_ret = test_event(&e); in test__pmu_events()
2727 test_ret = test_event(&e); in test__pmu_events()
2822 return test_event(&e); in test__pmu_events_alias()
/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()