Skip to contentSkip to conversation

perf docu: Update section on cpu description

PATCH In review Thomas Richter 2 participants 2 messages May 28, 2018 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf docu: Update section on cpu description

Fix the section HEADER_CPUDESC so the documentation matches code. Swap the two members of struct nr_cpus.

---
 tools/perf/Documentation/perf.data-file-format.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Documentation/perf.data-file-format.txt +1 -1
index d00f0d51cab8..16e2da0b674c 100644
@@ -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;
 };
 
 	HEADER_CPUDESC = 8,
Signature · 1 line
2.14.3