Uncore events show "event syntax error" in ‘perf stat’ output on several recent Intel Xeon Scalable and Xeon W processors

Solution In Progress - Updated -

Issue

  • Uncore events produce an "event syntax error" in the output of the perf stat command on Intel Xeon Cascade Lake, Ice Lake, Sapphire Rapids, Emerald Rapids, and Granite Rapids processors.
  • Uncore events in Red Hat Enterprise Linux (RHEL) measure the functions of a processor that are outside of a process core but within the CPU package.
  • This issue is seen when running the profiler_hardware_uncore test (part of the redhat-certification-hardware certification suite) on any system with CPU(s) from these processor families.

Examples:

event syntax error: 'unc_cha_tor_inserts.ia_hit_cxl_acc_local'
                                \___ Bad event name
Unable to find event on a PMU of 'unc_cha_tor_inserts.ia_hit_cxl_acc_local'
Initial error:
event syntax error: 'unc_cha_tor_inserts.ia_hit_cxl_acc_local'
                                \___ unknown term 'ch_mask' for pmu 'uncore_cha_0'
event syntax error: '..a_tor_inserts.ia_hit_cxl_acc'
                                  \___ Bad event nameUnable to find event on a PMU of 'unc_cha_tor_inserts.ia_hit_cxl_acc'
Initial error:
event syntax error: '..a_tor_inserts.ia_hit_cxl_acc'
                                  \___ value too big for format, maximum is 4294967295
event syntax error: '..0'
                                  \___ Bad event name

Unable to find event on a PMU of 'unc_iio_comp_buf_inserts.cmpd.part0'
Initial error:
event syntax error: '..0'
                                  \___ value too big for format, maximum is 255

perf stat -e uncore_ubox/event=0..255,edge,inv,.../modifier -o hwcert-perf.log --append -x';' -a -- sleep 1
stderr:
event syntax error: '..edge,inv,.../modifier'
                                  \___ Unrecognized input

Environment

  • Red Hat Enterprise Linux 10.0
  • Intel 2nd Generation Intel® Xeon Scalable processors (Products formerly Cascade Lake)
  • Intel 3rd Generation Intel® Xeon Scalable processors (Products formerly Ice Lake)
  • Intel 4th Generation Intel® Xeon Scalable processors (Products formerly Sapphire Rapids)
  • Intel 5th Generation Intel® Xeon Scalable processors (Products formerly Emerald Rapids)
  • Intel 6th Generation Intel® Xeon Scalable processors (Products formerly Granite Rapids)
  • Intel® Xeon® W processors (Products formerly Sapphire Rapids)

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