Re: [PATCH v5 11/16] perf report: properly handle branch count in match_chain

From: ravi
Date: Mon Oct 16 2017 - 00:18:39 EST



On Friday 13 October 2017 07:38 PM, Arnaldo Carvalho de Melo wrote:
Em Fri, Oct 13, 2017 at 10:39:03AM -0300, Arnaldo Carvalho de Melo escreveu:
Em Mon, Oct 09, 2017 at 10:33:05PM +0200, Milian Wolff escreveu:
Some of the code paths I introduced before returned too early
without running the code to handle a node's branch count.
By refactoring match_chain to only have one exit point, this
can be remedied.
Fixing up this one now.
Millian, this is all fresher in your mind, can you please take a look at
my perf/core branch and check if the change i made to ]PATCH v5 09/16]
"perf report: compare symbol name for inlined frames when matching" is
ok wrt Ravi's fix and then, please, rebase v5 on top of what is there?

Ravi, please take a look at this as well, to see if with these changes
your fix remains valid, ok?

Yes Arnaldo, my changes are still valid.

Milian, Can you please change this patch such that it incorporates dso
comparison for CCKEY_FUNCTION.

( Also, will that be good to change macro to CCKEY_FUNCTION_DOS ?)

Thanks,
Ravi