Why does per_cpu directory of tracing show more number of cpuN directories then actual online cpus?

Solution Verified - Updated -

Issue

  • Why does per_cpu directory of tracing show more number of cpuN directories then actual online cpus?
  • There are actually just 4 CPU on the server but there are 128 cpu's listed under /sys/kernel/debug/tracing/per_cpu/, why?
# ll -d /sys/kernel/debug/tracing/per_cpu/*|wc -l
128

# cat /sys/devices/system/cpu/online 
0-3

Environment

  • Vmware guest
  • kvm guest
  • physical hardware with hotplug enabled.
  • RHEL7 and RHEL8

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