Searched refs:sig_handler (Results 1 – 13 of 13) sorted by relevance
/tools/testing/selftests/timers/ |
D | posix_timers.c | 53 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/ |
D | harness.c | 90 static void sig_handler(int signum) in sig_handler() function 96 .sa_handler = sig_handler,
|
/tools/perf/tests/ |
D | bp_signal.c | 78 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()
|
D | bp_signal_overflow.c | 38 static void sig_handler(int signum __maybe_unused, in sig_handler() function 71 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
|
D | task-exit.c | 19 static void sig_handler(int sig __maybe_unused) in sig_handler() function 58 signal(SIGCHLD, sig_handler); in test__task_exit()
|
/tools/perf/ |
D | builtin-ftrace.c | 50 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()
|
D | builtin-inject.c | 541 static void sig_handler(int sig __maybe_unused) in sig_handler() function 641 signal(SIGINT, sig_handler); in __cmd_inject()
|
D | builtin-kvm.c | 845 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()
|
D | builtin-record.c | 503 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()
|
D | builtin-report.c | 412 static void sig_handler(int sig __maybe_unused) in sig_handler() function 845 signal(SIGINT, sig_handler); in __cmd_report()
|
D | builtin-trace.c | 1326 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()
|
D | builtin-script.c | 2403 static void sig_handler(int sig __maybe_unused) in sig_handler() function 2481 signal(SIGINT, sig_handler); in __cmd_script()
|
/tools/iio/ |
D | iio_generic_buffer.c | 297 void sig_handler(int signum) in sig_handler() function 306 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()
|