https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121038
--- Comment #3 from Andi Kleen ---
Better use set -e instead of explicit exit checks.
Yes it's dumb design in the tool, it could just stream the data. In fact if it
did that we could use the perf pipe mode to not even create a temporary file.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121038
--- Comment #2 from Jan Hubicka ---
I experimented with smaller sampling period and indeed create_gcov then runs
out of memory. On my setup create_gcov was simply segfaulting and produced just
partial profile. Since Makefile does not fail on cr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121038
--- Comment #1 from Andi Kleen ---
1) If you don't get data loss (perf should complain) the -m change should be
fine. Alternatively increase /proc/sys/kernel/perf_event_mlock_kb
5) IIRC the --all was a workaround for something, but I can't reme