[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aQ4yF-_bDedF2535@google.com>
Date: Fri, 7 Nov 2025 09:53:27 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
James Clark <james.clark@...aro.org>, Jiri Olsa <jolsa@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
linux-perf-users@...r.kernel.org
Subject: Re: [PATCH] perf stat: Add ScaleUnit to {cpu,task}-clock JSON
description
On Thu, Nov 06, 2025 at 02:09:00PM -0800, Ian Rogers wrote:
> On Thu, Nov 6, 2025 at 1:53 PM Namhyung Kim <namhyung@...nel.org> wrote:
> >
> > This changes the output of the event like below. In fact, that's the
> > output it used to have before the JSON conversion.
> >
> > Before:
> > $ perf stat -e task-clock true
> >
> > Performance counter stats for 'true':
> >
> > 313,848 task-clock # 0.290 CPUs utilized
> >
> > 0.001081223 seconds time elapsed
> >
> > 0.001122000 seconds user
> > 0.000000000 seconds sys
> >
> > After:
> > $ perf stat -e task-clock true
> >
> > Performance counter stats for 'true':
> >
> > 0.36 msec task-clock # 0.297 CPUs utilized
> >
> > 0.001225435 seconds time elapsed
> >
> > 0.001268000 seconds user
> > 0.000000000 seconds sys
> >
> > Fixes: 9957d8c801fe0cb90 ("perf jevents: Add common software event json")
> > Signed-off-by: Namhyung Kim <namhyung@...nel.org>
>
> Reviewed-by: Ian Rogers <irogers@...gle.com>
Applied to perf-tools-next, thanks!
Namhyung
Powered by blists - more mailing lists