perf record or perf top commands fail with an "Invalid Argument" error when using the --cpu option on Intel hybrid platforms

Solution Verified - Updated -

Issue

  • When using the perf record or perf top commands with the --cpu option on an Intel Hybrid Platform, the commands fail with an "Invalid Argument" error.
# lscpu | grep "^Model name:"
Model name:                           13th Gen Intel(R) CoreT i9-13900HK

# perf record --cpu 1 
WARNING: A requested CPU in '1' is not supported by PMU 'cpu_atom' (CPUs 12-19) for event 'cycles:P'
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cpu_atom/cycles/P).
/bin/dmesg | grep -i perf may provide additional information.

# perf top --cpu 1 --stdio 
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cpu_atom/cycles/P).
/bin/dmesg | grep -i perf may provide additional information.

Environment

  • Red Hat Enterprise Linux 9.5
  • perf
  • Intel Hybrid Platform (Raptor Lake)
    • 13th Gen Intel(R) CoreT i9-13900HK
    • 13th Gen Intel(R) Core(TM) i5-13500E

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