From 65668db27365d29ca4890cb2102e81acb6585b43 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Tue, 16 Jul 2024 17:45:30 +0100 Subject: [PATCH] revert perf counters change until we can do the full version --- src/perf_counters.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/perf_counters.cc b/src/perf_counters.cc index e2758afb..8e5219bc 100644 --- a/src/perf_counters.cc +++ b/src/perf_counters.cc @@ -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) {