Home
last modified time | relevance | path

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

/tools/testing/selftests/timers/
Dposix_timers.c53 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/
Dharness.c90 static void sig_handler(int signum) in sig_handler() function
96 .sa_handler = sig_handler,
/tools/perf/tests/
Dbp_signal.c81 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()
Dbp_signal_overflow.c38 static void sig_handler(int signum __maybe_unused, in sig_handler() function
76 sa.sa_sigaction = (void *) sig_handler; in test__bp_signal_overflow()
Dtask-exit.c20 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/
Dfin_ack_lat.c104 static void sig_handler(int signum) in sig_handler() function
118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
/tools/testing/selftests/mm/
Dwrite_to_hugetlbfs.c46 void sig_handler(int signo) in sig_handler() function
77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
/tools/perf/
Dbuiltin-ftrace.c42 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()
Dbuiltin-daemon.c110 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()
Dbuiltin-kwork.c1468 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()
Dbuiltin-kvm.c1362 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()
Dbuiltin-report.c465 static void sig_handler(int sig __maybe_unused) in sig_handler() function
961 signal(SIGINT, sig_handler); in __cmd_report()
Dbuiltin-record.c650 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()
Dbuiltin-inject.c1699 static void sig_handler(int sig __maybe_unused) in sig_handler() function
1981 signal(SIGINT, sig_handler); in __cmd_inject()
Dbuiltin-script.c2716 static void sig_handler(int sig __maybe_unused) in sig_handler() function
2799 signal(SIGINT, sig_handler); in __cmd_script()
/tools/testing/selftests/bpf/
Dxdp_features.c54 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/
Diio_generic_buffer.c311 static void sig_handler(int signum) in sig_handler() function
320 struct sigaction sa = { .sa_handler = sig_handler }; in register_cleanup()