summaryrefslogtreecommitdiff
path: root/tools/build/feature
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2021-01-14 18:46:46 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-01-20 20:34:20 +0300
commit0998d960489215a61023e837c08f7acc158c3228 (patch)
tree33093e51429d8e8f10e2f3cde1d14ab5efd2734d /tools/build/feature
parentf3d0a551db13b7cdf8addbe265b4fd7026944d24 (diff)
downloadlinux-0998d960489215a61023e837c08f7acc158c3228.tar.xz
perf c2c: Add local variables for output metrics
This patch adds several local variables: "cl_output": pointer for outputting single cache line metrics; "output_str": pointer for outputting cache line metrics; "sort_str": pointer to the sorting metrics. This can improve readability for the code and it's more flexible when later extend to different strings for the output metrics. Signed-off-by: Leo Yan <leo.yan@linaro.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Namhyung Kim <namhyung@kernel.org> 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-7-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