]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07a5d7b55ffe08034d0ad3edc13b88c6eea7bf90
tree5358ba00a8863eca057c7485fbdf936971eda3be
parentc06ab81bbb95e50f0e6b33dff4e89f9b549c5bad
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