Skip to contentSkip to conversation

trace-cmd: fixing description of a field in trace-cmd.dat.v7.5.txt doc

PATCH Applied [email protected] 2 participants 2 messages Jun 29, 2022 – Jul 8, 2022 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: fixing description of a field in trace-cmd.dat.v7.5.txt doc

From: "Matteo Bertolino (Huawei Technologies France)" <[email protected]>

Paragraph "Format of Section Header" states to write the size of a section on 4 bytes, but the actual size is 8 bytes (long long unsigned int). Submitted bug: https://bugzilla.kernel.org/show_bug.cgi?id=216185

---
 Documentation/trace-cmd/trace-cmd.dat.v7.5.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/trace-cmd/trace-cmd.dat.v7.5.txt +1 -1
index e5bcac7..b19d284 100644
@@ -71,7 +71,7 @@ FORMAT OF THE SECTION HEADER
   <2 bytes> unsigned short integer, section flags:
     1 = the section is compressed.
   <4 bytes> ID of a string, description of the section.
-  <4 bytes> unsigned integer, size of the section in the file.
+  <8 bytes> long long unsigned integer, size of the section in the file.
 
   If the section is compressed, the above is the compressed size.
   The section must be uncompressed on reading. The described format of
Signature · 5 lines
2.35.1.windows.2

Hello, this is my first (little) contribution!
Please be nice :-) 
Matteo
#1 lore raw
Quoted 6 lines · On Wed, 29 Jun 2022 18:18:45 +0200 <[email protected]> wrote:

From: "Matteo Bertolino (Huawei Technologies France)" <[email protected]>

Paragraph "Format of Section Header" states to write the size of a section on 4 bytes, but the actual size is 8 bytes (long long unsigned int). Submitted bug: https://bugzilla.kernel.org/show_bug.cgi?id=216185

Applied, thanks Matteo!

-- Steve