From f126428e706b7c6eb9aa1c79ced284b195d4e392 Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Sun, 24 May 2026 10:36:48 -0400 Subject: Revert "perf tool_pmu: Fix aggregation on duration_time" This reverts commit 310be445ab1028315627b326516f193511cb1c97. Signed-off-by: Sasha Levin --- tools/perf/util/tool_pmu.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) --- a/tools/perf/util/tool_pmu.c +++ b/tools/perf/util/tool_pmu.c @@ -392,14 +392,8 @@ int evsel__read_tool(struct evsel *evsel delta_start *= 1000000000 / ticks_per_sec; } count->val = delta_start; + count->ena = count->run = delta_start; count->lost = 0; - /* - * The values of enabled and running must make a ratio of 100%. The - * exact values don't matter as long as they are non-zero to avoid - * issues with evsel__count_has_error. - */ - count->ena++; - count->run++; return 0; }