All of lore.kernel.org
 help / color / mirror / Atom feed
* duplicate cache misses counter labels with perf-stat
@ 2012-09-05 15:21 Joel Uckelman
  2012-09-05 17:51 ` [PATCH] perf tools: Fix cache event name generation Jiri Olsa
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Uckelman @ 2012-09-05 15:21 UTC (permalink / raw)
  To: linux-perf-users

When I do this with perf 3.5.2,

  perf stat -x, -e
L1-dcache-loads,L1-dcache-load-misses,L1-dcache-stores,L1-dcache-store-misses
ls

I'm seeing this output from perf:

  697171,L1-dcache-loads

  28012,L1-dcache-misses

  455691,L1-dcache-stores

  11791,L1-dcache-misses

So, I'm getting two results labeled "L1-dcache-misses" (with different
values!) and none labeled "L1-dcache-store-misses". It looks to me
like one of the "L1-dcache-misses" is mislabeled.

There appears to be a general problem with all of the *-misses
counters, as a similar thing happens with, e.g., LLC-load-misses and
LLC-store-missses, and all of the others I've checked.

Is this a bug, or am I misunderstanding how perf-stat is supposed to work?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-05 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 15:21 duplicate cache misses counter labels with perf-stat Joel Uckelman
2012-09-05 17:51 ` [PATCH] perf tools: Fix cache event name generation Jiri Olsa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.