Lines Matching full:systems
359 char **systems; in test_system_event() local
366 systems = tracefs_event_systems(tdir); in test_system_event()
367 CU_TEST(systems != NULL); in test_system_event()
369 events = tracefs_system_events(tdir, systems[0]); in test_system_event()
372 asprintf(&sdir, "%s/events/%s", tdir, systems[0]); in test_system_event()
380 test_check_files(sdir, systems); in test_system_event()
382 tracefs_list_free(systems); in test_system_event()
460 char **systems; in test_local_events() local
470 systems = tracefs_event_systems(tdir); in test_local_events()
471 CU_TEST(systems != NULL); in test_local_events()
473 for (i = 0; systems[i]; i++) in test_local_events()
474 test_check_events(tep, systems[i], true); in test_local_events()
478 for (i = 0; systems[i]; i++) { in test_local_events()
480 lsystems[0] = systems[i]; in test_local_events()
482 lsystems[2] = systems[i]; in test_local_events()
499 for (i = 0; systems[i]; i++) in test_local_events()
500 test_check_events(tep, systems[i], true); in test_local_events()
504 tracefs_list_free(systems); in test_local_events()
593 const char *systems[] = {"ftrace", NULL}; in test_suite_init() local
595 test_tep = tracefs_local_events_system(NULL, systems); in test_suite_init()
618 CU_add_test(suite, "systems and events APIs", in test_tracefs_lib()