Re: [PATCH v2 07/11] perf c2c: Refactor node display macro

2021-01-11 Thread Leo Yan
On Wed, Jan 06, 2021 at 04:47:49PM +0900, Namhyung Kim wrote: > On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > > > The macro DISPLAY_HITM() is used to calculate HITM percentage introduced > > by every node and it's shown for the node info. > > > > This patch refactors the macro, it is renamed

Re: [PATCH v2 07/11] perf c2c: Refactor node display macro

2021-01-05 Thread Namhyung Kim
On Sun, Dec 13, 2020 at 10:39 PM Leo Yan wrote: > > The macro DISPLAY_HITM() is used to calculate HITM percentage introduced > by every node and it's shown for the node info. > > This patch refactors the macro, it is renamed it as DISPLAY_METRICS(). > And the parameters is changed for passing the

[PATCH v2 07/11] perf c2c: Refactor node display macro

2020-12-13 Thread Leo Yan
The macro DISPLAY_HITM() is used to calculate HITM percentage introduced by every node and it's shown for the node info. This patch refactors the macro, it is renamed it as DISPLAY_METRICS(). And the parameters is changed for passing the metric's statistic value and the sum value, this is flexsibl