Home
last modified time | relevance | path

Searched refs:test_thread (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/testing/selftests/membarrier/
H A Dmembarrier_test_multi_thread.c37 pthread_t test_thread; in test_mt_membarrier() local
39 pthread_create(&test_thread, NULL, in test_mt_membarrier()
57 pthread_join(test_thread, NULL); in test_mt_membarrier()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_reroute.c254 pthread_t test_thread; in test_lwt_reroute() local
261 err = pthread_create(&test_thread, NULL, &test_lwt_reroute_run, NULL); in test_lwt_reroute()
263 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_lwt_reroute()
H A Dlwt_redirect.c321 pthread_t test_thread; in test_lwt_redirect() local
328 err = pthread_create(&test_thread, NULL, &test_lwt_redirect_run, NULL); in test_lwt_redirect()
330 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_lwt_redirect()
H A Dtest_tunnel.c560 pthread_t test_thread; in test_tunnel() local
567 err = pthread_create(&test_thread, NULL, &test_tunnel_run_tests, NULL); in test_tunnel()
569 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_tunnel()
H A Dtc_redirect.c1228 pthread_t test_thread; in test_tc_redirect() local
1235 err = pthread_create(&test_thread, NULL, &test_tc_redirect_run_tests, NULL); in test_tc_redirect()
1237 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_tc_redirect()
/openbmc/linux/tools/perf/tests/
H A Dsigtrap.c122 static void *test_thread(void *arg) in test_thread() function
210 if (pthread_create(&threads[i], NULL, test_thread, &barrier)) { in test__sigtrap()
/openbmc/linux/tools/testing/selftests/perf_events/
H A Dsigtrap_threads.c87 static void *test_thread(void *arg) in test_thread() function
139 ASSERT_EQ(pthread_create(&self->threads[i], NULL, test_thread, &self->barrier), 0); in FIXTURE_SETUP()
/openbmc/linux/kernel/trace/
H A Dtrace_events.c4117 struct task_struct *test_thread; in event_test_stuff() local
4119 test_thread = kthread_run(event_test_thread, NULL, "test-events"); in event_test_stuff()
4121 kthread_stop(test_thread); in event_test_stuff()