plasma-umass / coz

Coz: Causal Profiling
Other
4.1k stars 159 forks source link

more graceful error reporting for too many threads #93

Closed emeryberger closed 5 years ago

emeryberger commented 7 years ago

When invoked with tons of threads (e.g., 1000 or 10,000), coz fails and reports mmap failures in perf.cpp (line 79). It would be better for Coz to say that it has failed because it can't handle so many threads (this is almost certainly the cause).