[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190121141050.GA15707@kernel.org>
Date: Mon, 21 Jan 2019 11:10:50 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: He Kuang <hekuang@...wei.com>, peterz@...radead.org,
mingo@...hat.com, alexander.shishkin@...ux.intel.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf top: Fix wrong hottest instruction highlighted
Em Sun, Jan 20, 2019 at 07:40:43PM +0100, Jiri Olsa escreveu:
> On Mon, Jan 21, 2019 at 12:05:22AM +0800, He Kuang wrote:
> > Annotation line's percentage is compared and inserted into rbtree, but the
> > percent field of 'struct annotation_data' is an array, the comparison
> > result between them is the address difference.
> >
> > This patch compares the right slot of percent array according to
> > opts->percent_type and makes things right.
> >
> > The problem can be reproduced by pressing 'H' in perf top annotation view.
> > It should highlight the instruction line which has the highest sampling
> > percentage.
> >
> > Signed-off-by: He Kuang <hekuang@...wei.com>
>
> Reviewed-by: Jiri Olsa <jolsa@...nel.org>
Thanks, applied.
- Arnaldo
Powered by blists - more mailing lists