summaryrefslogtreecommitdiff
path: root/tools/build/feature
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2021-01-14 18:46:45 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-01-20 20:34:20 +0300
commitf3d0a551db13b7cdf8addbe265b4fd7026944d24 (patch)
treeabb3108dfd3dbfdfe5d2abb916b120b9e6cded27 /tools/build/feature
parent111c141591178881314ba1b50d550d31cba34c1a (diff)
downloadlinux-f3d0a551db13b7cdf8addbe265b4fd7026944d24.tar.xz
perf c2c: Refactor node display
The macro DISPLAY_HITM() is used to calculate HITM percentage introduced by every node and it's shown for the node info. This patch introduces the static function display_metrics() to replace the macro, and the parameters are refined for passing the metric's statistic and sum value. Signed-off-by: Leo Yan <leo.yan@linaro.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Joe Mario <jmario@redhat.com> Cc: Joe Perches <joe@perches.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20210114154646.209024-6-leo.yan@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/feature')
0 files changed, 0 insertions, 0 deletions