mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Merge pull request #130 from plasma-umass/no-onstack
Drop `SA_ONSTACK` from coz signal handler
This commit is contained in:
commit
725412c460
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user