Allow reading callgrind data from STDIN
Status: Beta
Brought to you by:
weidendo
It would be really nice if kcachegrind could take the callgrind data from stdin, so you can collect data and start kcachegrind in one go.
The '-r' flag does this for 'regular' cachegrind use, but that won't work for other tools that can be converted to callgrind format.
The feature itself may be interesting, but loading currently blocks the GUI, and waiting
for stdin would result in a not-responsive window with a naive implementation.
But you can write a short shell script doing to same: write stdin to a random file,
and call kcachegrind then on this random file, e.g. using the bash $RANDOM feature.
We could use the convention of allowing '-' as a filename parameter to indicate kcachegrind should read from stdin?