linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] trace-cmd: fixing description of a field in trace-cmd.dat.v7.5.txt doc
@ 2022-06-29 16:18 matteo.bertolino
  2022-07-08 19:46 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: matteo.bertolino @ 2022-06-29 16:18 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: rostedt, Matteo Bertolino (Huawei Technologies France)

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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-08 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29 16:18 [PATCH] trace-cmd: fixing description of a field in trace-cmd.dat.v7.5.txt doc matteo.bertolino
2022-07-08 19:46 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).