Lines Matching refs:signal_action
388 struct sigaction signal_action; in SetSigprofActionAndTimer() local
389 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
390 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
391 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
392 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
393 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
403 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
404 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
405 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
406 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
407 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, old_signal_action)); in DisableSigprofActionAndTimer()