If I ask perf list to tell me what I can do, it says
LLC-loads [Hardware cache event]
LLC-load-misses [Hardware cache event]
LLC-stores [Hardware cache event]
LLC-store-misses [Hardware cache event]
LLC-prefetches [Hardware cache event]
LLC-prefetch-misses [Hardware cache event]
However, if I ask perf stat -eLLC-load-misses ls, it tells me
<not supported> LLC-load-misses
0,001647655 seconds time elapsed
Is it supported or not? What am I doing wrong?
perf listgives you what the softwareperfcan do with proper support from the hardware; with the second one you get what is actually supported on your machine. So, I think you don't do anything wrong. - Ali