]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf c2c: Organize metrics based on memory hierarchy
authorLeo Yan <leo.yan@linaro.org>
Wed, 14 Oct 2020 05:09:16 +0000 (06:09 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Oct 2020 12:34:41 +0000 (09:34 -0300)
commit6d662d730d6cdc16a19c4bc076c03e2cd21c242d
tree6559b12edf54321928d38f0f2d5b5d9c83158e7d
parent4f28641bde8a005462a59d654add4e00767a962c
perf c2c: Organize metrics based on memory hierarchy

The metrics are not organized based on memory hierarchy, e.g. the tool
doesn't organize the metrics order based on memory nodes from the close
node (e.g. L1/L2 cache) to far node (e.g. L3 cache and DRAM).

To output metrics with more friendly form, this patch refines the
metrics order based on memory hierarchy:

  "Core Load Hit" => "LLC Load Hit" => "LLC Ld Miss" => "Load Dram"

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Joe Mario <jmario@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20201014050921.5591-4-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c