Searched refs:test_event (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/perf/tests/ |
| H A D | pmu-events.c | 326 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event() argument 329 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event() 344 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event() 347 test_event->alias_long_desc); in compare_alias_to_test_event() 357 if (!is_same(alias->str, test_event->event.event)) { in compare_alias_to_test_event() 359 pmu_name, alias->str, test_event->event.event); in compare_alias_to_test_event() 363 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event() 365 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event() 369 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event() 372 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event() [all …]
|
| H A D | hwmon_pmu.c | 14 static const struct test_event { struct 152 const char *test_event = with_alias ? test_events[i].alias : test_events[i].name; in do_test() local 166 snprintf(str, sizeof(str), "hwmon_a_test_hwmon_pmu/%s/", test_event); in do_test() 168 strlcpy(str, test_event, sizeof(str)); in do_test()
|
| H A D | pmu.c | 62 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 D | parse-events.c | 2535 static int test_event(const struct evlist_test *e) in test_event() function 2628 test_ret = test_event(&e); in test_events() 2765 test_ret = test_event(&e); in test__pmu_events() 2791 test_ret = test_event(&e); in test__pmu_events() 2887 return test_event(&e); in test__pmu_events_alias()
|
| /linux/tools/testing/selftests/net/ |
| H A D | link_netns.py | 15 def test_event() -> None: function 136 ksft_run([test_event, test_link_net, test_peer_net])
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | hybrid.c | 243 static int test_event(const struct evlist_test *e) in test_event() function 294 test_ret = test_event(e); in test_events()
|