'perf list' displaying unsupported events

Solution Verified - Updated -

Issue

Despite L1-icache-loads being listed in perf list cache output, the event is stated as <not supported> in perf stat output as shown here:

# perf list cache | grep L1-icache-
  L1-icache-loads                                    [Hardware cache event]
  L1-icache-load-misses                              [Hardware cache event]
  L1-icache-prefetches                               [Hardware cache event]
  L1-icache-prefetch-misses                          [Hardware cache event]

# perf stat -e L1-icache-loads sleep 3
 Performance counter stats for 'sleep 3':
   <not supported> L1-icache-loads         
       3.001385012 seconds time elapsed

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content