Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 62) sorted by relevance

123

/tools/testing/selftests/powerpc/tm/
D.gitignore3 tm-signal-msr-resv
4 tm-signal-stack
10 tm-signal-context-chk-fpu
11 tm-signal-context-chk-gpr
12 tm-signal-context-chk-vmx
13 tm-signal-context-chk-vsx
DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
22 $(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
Dtm-signal-stack.c59 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_stack()
Dtm-signal-msr-resv.c62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
/tools/perf/ui/tui/
Dsetup.c53 signal(SIGWINCH, ui__sigwinch); in ui__setup_sigwinch()
148 signal(SIGSEGV, ui__signal_backtrace); in ui__init()
149 signal(SIGFPE, ui__signal_backtrace); in ui__init()
150 signal(SIGINT, ui__signal); in ui__init()
151 signal(SIGQUIT, ui__signal); in ui__init()
152 signal(SIGTERM, ui__signal); in ui__init()
/tools/testing/selftests/powerpc/signal/
DMakefile2 TEST_GEN_PROGS := signal signal_tm
9 $(TEST_GEN_PROGS): ../harness.c ../utils.c signal.S
D.gitignore1 signal
/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c98 signal(SIGTERM, signal_handler); in rw_ctl_loop()
99 signal(SIGINT, signal_handler); in rw_ctl_loop()
100 signal(SIGQUIT, signal_handler); in rw_ctl_loop()
/tools/perf/tests/
Dperf-hooks.c14 signal(SIGSEGV, SIG_DFL); in sigsegv_handler()
34 signal(SIGSEGV, sigsegv_handler); in test__perf_hooks()
/tools/testing/selftests/x86/
Dtest_FISTTP.c126 signal(SIGILL, sighandler); in main()
127 signal(SIGFPE, sighandler); in main()
128 signal(SIGSEGV, sighandler); in main()
Dtest_FCMOV.c62 signal(SIGILL, sighandler); in main()
63 signal(SIGFPE, sighandler); in main()
64 signal(SIGSEGV, sighandler); in main()
Dtest_FCOMI.c307 signal(SIGILL, sighandler); in main()
308 signal(SIGFPE, sighandler); in main()
309 signal(SIGSEGV, sighandler); in main()
/tools/testing/selftests/timers/
Dposix_timers.c100 signal(SIGVTALRM, sig_handler); in check_itimer()
102 signal(SIGPROF, sig_handler); in check_itimer()
104 signal(SIGALRM, sig_handler); in check_itimer()
162 signal(SIGALRM, sig_handler); in check_timer_create()
Dleapcrash.c67 signal(SIGINT, handler); in main()
68 signal(SIGKILL, handler); in main()
/tools/testing/selftests/prctl/
Ddisable-tsc-ctxt-sw-stress-test.c51 signal(SIGSEGV, sigsegv_expect); in segvtask()
72 signal(SIGSEGV, sigsegv_fail); in rdtsctask()
Ddisable-tsc-on-off-stress-test.c62 signal(SIGSEGV, sigsegv_cb); in task()
Ddisable-tsc-test.c65 signal(SIGSEGV, sigsegv_cb); in main()
/tools/lib/subcmd/
Dsigchain.c27 s->old[s->n] = signal(sig, f); in sigchain_push()
41 if (signal(sig, s->old[s->n - 1]) == SIG_ERR) in sigchain_pop()
/tools/perf/ui/gtk/
Dannotate.c189 signal(SIGSEGV, perf_gtk__signal); in symbol__gtk_annotate()
190 signal(SIGFPE, perf_gtk__signal); in symbol__gtk_annotate()
191 signal(SIGINT, perf_gtk__signal); in symbol__gtk_annotate()
192 signal(SIGQUIT, perf_gtk__signal); in symbol__gtk_annotate()
193 signal(SIGTERM, perf_gtk__signal); in symbol__gtk_annotate()
/tools/testing/selftests/
Dkselftest_harness.h145 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument
261 #define TEST_F_SIGNAL(fixture_name, test_name, signal) \ argument
262 __TEST_F_IMPL(fixture_name, test_name, signal)
264 #define __TEST_F_IMPL(fixture_name, test_name, signal) \ argument
285 termsig: signal, \
/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c53 signal(SIGALRM, sigalrm_handler); in cpu_soak_usecs()
61 signal(SIGALRM, SIG_DFL); in cpu_soak_usecs()
Dcontext_switch.c166 signal(SIGALRM, sigalrm_handler); in pipe_thread1()
211 signal(SIGALRM, sigalrm_handler); in yield_thread1()
341 signal(SIGALRM, sigalrm_handler); in futex_thread1()
473 signal(SIGUSR1, sigusr1_handler); in main()
/tools/perf/scripts/python/
Dcompaction-times.py11 import signal
12 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
/tools/perf/
Dbuiltin-ftrace.c278 signal(SIGINT, sig_handler); in __cmd_ftrace()
279 signal(SIGUSR1, sig_handler); in __cmd_ftrace()
280 signal(SIGCHLD, sig_handler); in __cmd_ftrace()
281 signal(SIGPIPE, sig_handler); in __cmd_ftrace()
/tools/thermal/tmon/
Dtmon.c292 if (signal(SIGINT, tmon_sig_handler) == SIG_ERR) in main()
294 if (signal(SIGTERM, tmon_sig_handler) == SIG_ERR) in main()
304 signal(SIGWINCH, resize_handler); in main()

123