Bug 216185
Summary: | Documentation error in Documentation/trace-cmd/trace-cmd.dat.v7.5.txt | ||
---|---|---|---|
Product: | Tools | Reporter: | Matteo Bertolino (matteo.bertolino) |
Component: | Trace-cmd/Kernelshark | Assignee: | Default virtual assignee for Trace-cmd and kernelshark (tools_tracecmd_kernelshark) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | rostedt, tstoyanov |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | any | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | To support my report, in the description I provide two demonstrations. One in the source code, one empirical. This image contains the empirical demonstration. |
Description
Matteo Bertolino
2022-06-28 12:39:18 UTC
You are right Matteo, the section size is 8 bytes. It was 4 bytes in one of the first versions of this implementation, and looks like the documentation is not updated when the size filed was increased. Nice catch, thanks for reporting that! Do you want to submit a fix, to align the documentation with the actual file format? Dear Tzvetomir, thanks for your feedback. I can do it, should I do it in the form of pull request? You have to submit a patch to the linux-trace-devel@vger.kernel.org mailing list, and CC rostedt@goodmis.org. There are detailed instructions here https://github.com/rostedt/trace-cmd/blob/master/CONTRIBUTE Thanks a lot. I'll do it this afternoon. Bests Fixed by: dacbf23e744f ("trace-cmd: Fix description of a field in trace-cmd.dat.v7.5.txt doc") |