perf stat: Fix the ratio comments of miss-events
authorQi Liu <liuqi115@huawei.com>
Wed, 16 Sep 2020 10:48:51 +0000 (18:48 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Sep 2020 13:54:02 +0000 (10:54 -0300)
commitce9c13f31b10560d4e4d801f9f94895f595756aa
tree5358ba00a8863eca057c7485fbdf936971eda3be
parentd26383dcb2b4b8629fde05270b4e3633be9e3d4b
perf stat: Fix the ratio comments of miss-events

'perf stat' displays miss ratio of L1-dcache, L1-icache, dTLB cache,
iTLB cache and LL-cache. Take L1-dcache for example, miss ratio is
caculated as "L1-dcache-load-misses/L1-dcache-loads". So "of all
L1-dcache hits" is unsuitable to describe it, and "of all L1-dcache
accesses" seems better.

The comments of L1-icache, dTLB cache, iTLB cache and LL-cache are
fixed in the same way.

Signed-off-by: Qi Liu <liuqi115@huawei.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: linuxarm@huawei.com
Link: http://lore.kernel.org/lkml/1600253331-10535-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/stat-shadow.c