I'm working under the assumption that if I want to collect statistics from multiple runs of a program, I can do this by running
perf record prog; perf record -A prog; perf record -A prog
I've found that running perf record twice results in perf report hanging, and running it more than twice results in perf report first spewing a message about invalid formats, then crashing.
A log of the session, as well as the binary, its input and perf.data can be found at: