Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dpmu-events.c327 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event()
330 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event()
345 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
348 test_event->alias_long_desc); in compare_alias_to_test_event()
358 if (!is_same(alias->str, test_event->event.event)) { in compare_alias_to_test_event()
360 pmu_name, alias->str, test_event->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()
366 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
370 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event()
373 pmu_name, alias->pmu_name, test_event in compare_alias_to_test_event()
326 compare_alias_to_test_event(struct pmu_event_info * alias,struct perf_pmu_test_event const * test_event,char const * pmu_name) compare_alias_to_test_event() argument
393 struct perf_pmu_test_event const *test_event = *test_event_table; test__pmu_event_table_core_callback() local
424 struct perf_pmu_test_event const *test_event = *test_event_table; test__pmu_event_table_sys_callback() local
483 struct perf_pmu_test_event const *test_event; global() member
533 struct perf_pmu_test_event test_event = **test_event_table; __test_core_pmu_event_aliases() local
601 struct perf_pmu_test_event test_event = **table; __test_uncore_pmu_event_aliases() local
[all...]
H A Dhwmon_pmu.c19 static const struct test_event {
157 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test()
171 snprintf(str, sizeof(str), "hwmon_a_test_hwmon_pmu/%s/", test_event); in do_test()
173 strlcpy(str, test_event, sizeof(str)); in do_test()
14 static const struct test_event { global() struct
18 keytest_event global() argument
152 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; do_test() local
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.c2547 static int test_event(const struct evlist_test *e) in test_event()
2643 test_ret = test_event(&e); in test_term()
2780 test_ret = test_event(&e); in test__pmu_events()
2806 test_ret = test_event(&e); in test__pmu_events2()
2902 return test_event(&e); in test__alias()
2535 static int test_event(const struct evlist_test *e) test_event() function
/linux/tools/testing/selftests/net/
H A Dlink_netns.py16 def test_event() -> None: function
189 test_event,
/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()