[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180926214837.GB15357@krava>
Date: Wed, 26 Sep 2018 23:48:37 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Milian Wolff <milian.wolff@...b.com>
Cc: Andi Kleen <andi@...stfloor.org>, Jiri Olsa <jolsa@...nel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
David Ahern <dsahern@...il.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Stephane Eranian <eranian@...gle.com>,
Frederic Weisbecker <frederic@...nel.org>
Subject: Re: [RFC 00/10] perf: Add cputime events/metrics
On Wed, Sep 26, 2018 at 04:44:08PM +0200, Milian Wolff wrote:
> On Thursday, June 7, 2018 1:10:18 AM CEST Andi Kleen wrote:
> > > I had some issues with IDLE counter being miscounted due to stopping
> > > of the idle tick. I tried to solve it in this patch (it's part of the
> > >
> > > patchset):
> > > perf/cputime: Don't stop idle tick if there's live cputime event
> > >
> > > but I'm pretty sure it's wrong and there's better solution.
> >
> > At least on intel we already have hardware counters for different idle
> > states. You just would need to add them and convert to the same
> > unit.
> >
> > But of course it's still useful when this is not available.
> >
> > > My current plan is now to read those counters in perf top/record/report
> > > to show (at least) the idle percentage for the current profile.
> >
> > It's useful. Thanks for working on it. I was thinking about doing
> > something similar for some time.
>
> Hey Jiri,
>
> what happened to this patch series? I also believe it's super useful, even
> when it's not yet perfect.
heya,
got sidetracked.. thanks for feedback, will refresh
and repost sane version
thanks,
jirka
Powered by blists - more mailing lists