[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.