[proflog] Add countersonly parameters which disable event dumping

This is useful in the case of the benchmarking suite because we are only interested in the counters, and they represent a minimal part of the output file size.
Merge pull request #1395 from ludovic-henry/pr38-proflog-only-counters

[proflog] Add onlycounters parameters which disable event dumping