2018-05-28 07:50:25

by Thomas Richter

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Thomas Richter <[email protected]>
---
tools/perf/Documentation/perf.data-file-format.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt
index d00f0d51cab8..16e2da0b674c 100644
--- a/tools/perf/Documentation/perf.data-file-format.txt
+++ b/tools/perf/Documentation/perf.data-file-format.txt
@@ -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,
--
2.14.3



2018-05-29 03:51:15

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH] perf docu: Update section on cpu description

Em Mon, May 28, 2018 at 09:49:03AM +0200, Thomas Richter escreveu:
> Fix the section HEADER_CPUDESC so the documentation
> matches code. Swap the two members of struct nr_cpus.
>
> Signed-off-by: Thomas Richter <[email protected]>

I have this one already in my perf/core branch:

https://git.kernel.org/acme/c/ec6fb1a1642c2

- Arnaldo