diff mbox series

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

Message ID 20220629161845.2432-1-matteo.bertolino@huawei.com (mailing list archive)
State Accepted
Commit dacbf23e744fb07603fdb44b9c6fd7d69af38cdb
Headers show
Series trace-cmd: fixing description of a field in trace-cmd.dat.v7.5.txt doc | expand

Commit Message

matteo.bertolino@huawei.com June 29, 2022, 4:18 p.m. UTC
From: "Matteo Bertolino (Huawei Technologies France)" <matteo.bertolino@huawei.com>

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@huawei.com>
---
 Documentation/trace-cmd/trace-cmd.dat.v7.5.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Steven Rostedt July 8, 2022, 7:46 p.m. UTC | #1
On Wed, 29 Jun 2022 18:18:45 +0200
<matteo.bertolino@huawei.com> wrote:

> From: "Matteo Bertolino (Huawei Technologies France)" <matteo.bertolino@huawei.com>
> 
> 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@huawei.com>

Applied, thanks Matteo!

-- Steve
diff mbox series

Patch

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