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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Matteo Bertolino (Huawei Technologies France)" <matteo.bertolino@xxxxxxxxxx>

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

Signed-off-by: Matteo Bertolino (Huawei Technologies France) <matteo.bertolino@xxxxxxxxxx>
---
 Documentation/trace-cmd/trace-cmd.dat.v7.5.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/trace-cmd/trace-cmd.dat.v7.5.txt b/Documentation/trace-cmd/trace-cmd.dat.v7.5.txt
index e5bcac7..b19d284 100644
--- a/Documentation/trace-cmd/trace-cmd.dat.v7.5.txt
+++ b/Documentation/trace-cmd/trace-cmd.dat.v7.5.txt
@@ -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
-- 
2.35.1.windows.2

Hello, this is my first (little) contribution!
Please be nice :-) 
Matteo



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux