Is there an easy way to know how many threads and how many differentevent types were recorded? Once I know that, I could directly gathervalues into a 2D matrix and display a single line per thread with allcorresponding event counter (so that people can easily apply awk tomanipulate them).

I am adding some pretty printing to the previous patch and waiting foryour feedback (for instance, what kind of global variable names, commandline option names, ... do you want or so).