Lines Matching refs:signal_action
383 struct sigaction signal_action; in SetSigprofActionAndTimer() local
384 memset(&signal_action, 0, sizeof(signal_action)); in SetSigprofActionAndTimer()
385 sigemptyset(&signal_action.sa_mask); in SetSigprofActionAndTimer()
386 signal_action.sa_sigaction = SigprofAction; in SetSigprofActionAndTimer()
387 signal_action.sa_flags = SA_RESTART | SA_SIGINFO; in SetSigprofActionAndTimer()
388 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
398 struct sigaction signal_action; in DisableSigprofActionAndTimer() local
399 memset(&signal_action, 0, sizeof(signal_action)); in DisableSigprofActionAndTimer()
400 sigemptyset(&signal_action.sa_mask); in DisableSigprofActionAndTimer()
401 signal_action.sa_handler = SIG_IGN; in DisableSigprofActionAndTimer()
402 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, old_signal_action)); in DisableSigprofActionAndTimer()