Skip to content

Commit

Permalink
revert perf counters change until we can do the full version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jul 16, 2024
1 parent 14ddd77 commit 65668db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/perf_counters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 65668db

Please sign in to comment.