simpleperf: handle events collected by --add-counter in pprof profile
Make pprof_proto_generator.py handle events collected by --add-counter
properly. The pprof profile generated will contain information of main
events and events collected in counters.
By reporting events inside counters, we are able to analyze better since
they have the same amount of samples and are collected at the same time.
Bug: 346498443
Test: run test.py -p TestPprof*
Change-Id: Ib64db75c8372075deca6fb423e9a66513a6f2faf
6 files changed