Home
last modified time | relevance | path

Searched refs:sig_handler (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/timers/
Dposix_timers.c53 static void sig_handler(int nr) in sig_handler() function
99 signal(SIGVTALRM, sig_handler); in check_itimer()
101 signal(SIGPROF, sig_handler); in check_itimer()
103 signal(SIGALRM, sig_handler); in check_itimer()
161 signal(SIGALRM, sig_handler); in check_timer_create()
/tools/testing/selftests/powerpc/
Dharness.c90 static void sig_handler(int signum) in sig_handler() function
96 .sa_handler = sig_handler,
/tools/perf/tests/
Dbp_signal.c78 static void sig_handler(int signum __maybe_unused, in sig_handler() function
168 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal()
234 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()
Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler() function
71 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
Dtask-exit.c19 static void sig_handler(int sig __maybe_unused) in sig_handler() function
58 signal(SIGCHLD, sig_handler); in test__task_exit()
/tools/perf/
Dbuiltin-ftrace.c50 static void sig_handler(int sig __maybe_unused) in sig_handler() function
298 signal(SIGINT, sig_handler); in __cmd_ftrace()
299 signal(SIGUSR1, sig_handler); in __cmd_ftrace()
300 signal(SIGCHLD, sig_handler); in __cmd_ftrace()
301 signal(SIGPIPE, sig_handler); in __cmd_ftrace()
Dbuiltin-inject.c541 static void sig_handler(int sig __maybe_unused) in sig_handler() function
641 signal(SIGINT, sig_handler); in __cmd_inject()
Dbuiltin-kvm.c845 static void sig_handler(int sig __maybe_unused) in sig_handler() function
962 signal(SIGINT, sig_handler); in kvm_events_live_report()
963 signal(SIGTERM, sig_handler); in kvm_events_live_report()
Dbuiltin-record.c503 static void sig_handler(int sig) in sig_handler() function
1351 signal(SIGCHLD, sig_handler); in __cmd_record()
1352 signal(SIGINT, sig_handler); in __cmd_record()
1353 signal(SIGTERM, sig_handler); in __cmd_record()
Dbuiltin-report.c412 static void sig_handler(int sig __maybe_unused) in sig_handler() function
845 signal(SIGINT, sig_handler); in __cmd_report()
Dbuiltin-trace.c1326 static void sig_handler(int sig) in sig_handler() function
3348 signal(SIGCHLD, sig_handler); in trace__run()
3349 signal(SIGINT, sig_handler); in trace__run()
Dbuiltin-script.c2403 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2481 signal(SIGINT, sig_handler); in __cmd_script()
/tools/iio/
Diio_generic_buffer.c297 void sig_handler(int signum) in sig_handler() function
306 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()