/tools/testing/selftests/timers/ |
D | posix_timers.c | 53 static void sig_handler(int nr) in sig_handler() function 98 signal(SIGVTALRM, sig_handler); in check_itimer() 100 signal(SIGPROF, sig_handler); in check_itimer() 102 signal(SIGALRM, sig_handler); in check_itimer() 159 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 | 81 static void sig_handler(int signum __maybe_unused, in sig_handler() function 176 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal() 242 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 76 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
|
D | task-exit.c | 20 static void sig_handler(int sig __maybe_unused) in sig_handler() function 59 signal(SIGCHLD, sig_handler); in test__task_exit()
|
/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 104 static void sig_handler(int signum) in sig_handler() function 118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
|
/tools/testing/selftests/mm/ |
D | write_to_hugetlbfs.c | 46 void sig_handler(int signo) in sig_handler() function 77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
|
/tools/perf/ |
D | builtin-ftrace.c | 42 static void sig_handler(int sig __maybe_unused) in sig_handler() function 1200 signal(SIGINT, sig_handler); in cmd_ftrace() 1201 signal(SIGUSR1, sig_handler); in cmd_ftrace() 1202 signal(SIGCHLD, sig_handler); in cmd_ftrace() 1203 signal(SIGPIPE, sig_handler); in cmd_ftrace()
|
D | builtin-daemon.c | 110 static void sig_handler(int sig __maybe_unused) in sig_handler() function 1319 signal(SIGINT, sig_handler); in __cmd_start() 1320 signal(SIGTERM, sig_handler); in __cmd_start()
|
D | builtin-kwork.c | 1468 static void sig_handler(int sig) in sig_handler() function 1481 signal(SIGINT, sig_handler); in perf_kwork__report_bpf() 1482 signal(SIGTERM, sig_handler); in perf_kwork__report_bpf()
|
D | builtin-kvm.c | 1362 static void sig_handler(int sig __maybe_unused) in sig_handler() function 1483 signal(SIGINT, sig_handler); in kvm_events_live_report() 1484 signal(SIGTERM, sig_handler); in kvm_events_live_report()
|
D | builtin-report.c | 465 static void sig_handler(int sig __maybe_unused) in sig_handler() function 961 signal(SIGINT, sig_handler); in __cmd_report()
|
D | builtin-record.c | 650 static void sig_handler(int sig) in sig_handler() function 2323 signal(SIGCHLD, sig_handler); in __cmd_record() 2324 signal(SIGINT, sig_handler); in __cmd_record() 2325 signal(SIGTERM, sig_handler); in __cmd_record()
|
D | builtin-inject.c | 1699 static void sig_handler(int sig __maybe_unused) in sig_handler() function 1981 signal(SIGINT, sig_handler); in __cmd_inject()
|
D | builtin-script.c | 2716 static void sig_handler(int sig __maybe_unused) in sig_handler() function 2799 signal(SIGINT, sig_handler); in __cmd_script()
|
/tools/testing/selftests/bpf/ |
D | xdp_features.c | 54 static void sig_handler(int sig) in sig_handler() function 663 signal(SIGINT, sig_handler); in main() 664 signal(SIGTERM, sig_handler); in main()
|
/tools/iio/ |
D | iio_generic_buffer.c | 311 static void sig_handler(int signum) in sig_handler() function 320 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()
|