revert perf counters change until we can do the full version

This commit is contained in:
Dominic Hamon 2024-07-16 17:45:30 +01:00
parent 14ddd77a90
commit 65668db273
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ PerfCounters PerfCounters::Create(
attr.exclude_hv = true;
// Read all counters in a group in one read.
attr.read_format = PERF_FORMAT_GROUP | PERF_FORMAT_TOTAL_TIME_ENABLED |
PERF_FORMAT_TOTAL_TIME_RUNNING;
attr.read_format = PERF_FORMAT_GROUP; //| PERF_FORMAT_TOTAL_TIME_ENABLED |
//PERF_FORMAT_TOTAL_TIME_RUNNING;
int id = -1;
while (id < 0) {