Merge pull request #130 from plasma-umass/no-onstack

Drop `SA_ONSTACK` from coz signal handler
This commit is contained in:
Charlie Curtsinger 2019-10-08 09:51:31 -04:00 committed by GitHub
commit 725412c460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ void profiler::startup(const string& outfile,
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = profiler::samples_ready;
sa.sa_flags = SA_SIGINFO | SA_ONSTACK;
sa.sa_flags = SA_SIGINFO;
real::sigaction(SampleSignal, &sa, nullptr);
// Set up handlers for errors