'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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.