Bug 216896
Summary: | trace-cmd report -R breaks some int fields | ||
---|---|---|---|
Product: | Tools | Reporter: | Douglas RAILLARD (douglas.raillard) |
Component: | Trace-cmd/Kernelshark | Assignee: | Default virtual assignee for Trace-cmd and kernelshark (tools_tracecmd_kernelshark) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | rostedt |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | N/A | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Use data size instead of field size to see if field falls out of bounds |
Description
Douglas RAILLARD
2023-01-06 13:49:03 UTC
I bisected it to commit libtraceevent commit efd32896dd5dbcaf72927dc07102fc359f6bdd6e libtraceevent: Add warnings if fields are outside the event Compared to the old version of libtraceevent I was using, it still differs in display style (decimal instead of hex) but otherwise seems to be working. Created attachment 303539 [details]
Use data size instead of field size to see if field falls out of bounds
Can you test this patch. But debugging this, I think this could be optimized a bit as well. But that's another story.
That seems to have fixed the issue, thanks ! |