Home
last modified time | relevance | path

Searched refs:SIGUSR2 (Results 1 – 21 of 21) sorted by relevance

/tools/testing/selftests/signal/
A Dmangle_uc_sigmask.c49 ret = sigismember(&(((ucontext_t *)uc)->uc_sigmask), SIGUSR2); in handler_verify_ucontext()
56 if (raise(SIGUSR2)) in handler_verify_ucontext()
118 if (sigaddset(&((ucontext_t *)uc)->uc_sigmask, SIGUSR2)) in handler_usr()
155 if (raise(SIGUSR2)) in main()
180 ksft_test_result(sigismember(&oldset, SIGUSR2) == 1, in main()
A Dsas.c102 raise(SIGUSR2); in switch_fn()
124 sigaction(SIGUSR2, &act, NULL); in main()
/tools/testing/selftests/powerpc/signal/
A Dsig_sc_double_restart.c36 kill(getpid(), SIGUSR2); in SIGUSR1_handler()
103 sigaddset(&act.sa_mask, SIGUSR2); in test_restart()
114 if (sigaction(SIGUSR2, &act, NULL) == -1) { in test_restart()
/tools/testing/selftests/timens/
A Dclock_nanosleep.c21 if (sig == SIGUSR2) in test_sig()
51 signal(SIGUSR2, test_sig); in run_test()
95 pthread_kill(thread, SIGUSR2); in run_test()
/tools/testing/selftests/powerpc/pmu/sampling_tests/
A Dmmcr2_fcs_fch_test.c39 FAIL_IF(sigaction(SIGUSR2, &sigact, NULL)); in mmcr2_fcs_fch()
40 FAIL_IF(kill(getpid(), SIGUSR2)); in mmcr2_fcs_fch()
/tools/testing/selftests/clone3/
A Dclone3_clear_sighand.c76 ret = sigaction(SIGUSR2, &act, NULL); in test_clone3_clear_sighand()
97 ret = sigaction(SIGUSR2, NULL, &act); in test_clone3_clear_sighand()
/tools/testing/selftests/arm64/fp/
A Dasm-offsets.h6 #define SIGUSR2 12 macro
A Dkernel-test.c272 ret = sigaction(SIGUSR2, &sa, NULL); in main()
A Dzt-test.S218 mov w0, #SIGUSR2
A Dfpsimd-test.S236 mov w0, #SIGUSR2
A Dza-test.S249 mov w0, #SIGUSR2
A Dsve-test.S399 mov w0, #SIGUSR2
/tools/testing/selftests/powerpc/mm/
A Dwild_bctr.c136 FAIL_IF(sigaction(SIGUSR2, &usr2, NULL)); in test_wild_bctr()
144 kill(getpid(), SIGUSR2); in test_wild_bctr()
/tools/testing/selftests/mm/
A Dpkey_sighandler_tests.c150 syscall_raw(SYS_tkill, tid, SIGUSR2, 0, 0, 0, 0); in raise_sigusr2()
465 if (sigaction(SIGUSR2, &sa, NULL) == -1) { in test_pkru_sigreturn()
/tools/testing/selftests/x86/
A Dtest_syscall_vdso.c195 sigaddset(&sigmask, SIGUSR2); in prep_args()
A Dsigreturn.c522 sethandler(SIGUSR2, sigusr2, 0); in test_nonstrict_ss()
527 raise(SIGUSR2); in test_nonstrict_ss()
/tools/testing/selftests/arm64/gcs/
A Dgcs-stress-thread.S19 #define SIGUSR2 12 macro
/tools/perf/Documentation/
A Dperf-record.txt538 In Snapshot Mode trace data is captured only when signal SIGUSR2 is received
632 - "signal" - when receiving a SIGUSR2 (default value) or
656 thread will also send a SIGUSR2 to the main one.
A Dperf-intel-pt.txt717 Note that the signal sent is SIGUSR2.
/tools/perf/
A Dbuiltin-daemon.c1438 cmd.signal.sig = SIGUSR2; in __cmd_signal()
A Dbuiltin-record.c2182 pthread_kill(rec->thread_id, SIGUSR2); in record__process_signal_event()
2420 signal(SIGUSR2, snapshot_sig_handler); in __cmd_record()
2426 signal(SIGUSR2, SIG_IGN); in __cmd_record()

Completed in 33 milliseconds