perf tools: Fix format description of NRCPUS header

In the HEADER_CPUDESC feadure header we store first the number
of available CPUs in the system, then the number of CPUs at the time of
writing the header, not the other way around.
Reported-by: default avatarThomas-Mich Richter <>
Acked-by: default avatarAndi Kleen <>
Cc: Adrian Hunter <>
Cc: David Ahern <>
Cc: He Kuang <>
Cc: Hendrik Brueckner <>
Cc: Jin Yao <>
Cc: Jiri Olsa <>
Cc: Kim Phillips <>
Cc: Lakshman Annadorai <>
Cc: Namhyung Kim <>
Cc: Simon Que <>
Cc: Stephane Eranian <>
Cc: Wang Nan <>
Link: default avatarArnaldo Carvalho de Melo <>
parent 943f32a0
......@@ -111,8 +111,8 @@ A perf_header_string with the CPU architecture (uname -m)
A structure defining the number of CPUs.
struct nr_cpus {
uint32_t nr_cpus_online;
uint32_t nr_cpus_available; /* CPUs not yet onlined */
uint32_t nr_cpus_online;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment