Home
last modified time | relevance | path

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

/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 Dtest_tunnel.c1143 pthread_t test_thread; in test_tunnel() local
1150 err = pthread_create(&test_thread, NULL, &test_tunnel_run_tests, NULL); in test_tunnel()
1152 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_tunnel()
H A Dtc_redirect.c1293 pthread_t test_thread; in test_tc_redirect() local
1300 err = pthread_create(&test_thread, NULL, &test_tc_redirect_run_tests, NULL); in test_tc_redirect()
1302 ASSERT_OK(pthread_join(test_thread, NULL), "pthread_join"); in test_tc_redirect()
/linux/tools/perf/tests/
H A Dsigtrap.c160 static void *test_thread(void *arg) in test_thread() function
257 if (pthread_create(&threads[i], NULL, test_thread, &barrier)) { in test__sigtrap()
/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()
/linux/kernel/trace/
H A Dtrace_events.c4700 struct task_struct *test_thread; in event_test_stuff() local
4702 test_thread = kthread_run(event_test_thread, NULL, "test-events"); in event_test_stuff()
4704 kthread_stop(test_thread); in event_test_stuff()