| Summary: | [LTTng] Seek by time may not give the correct position | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matthew Khouzam <matthew.khouzam> | ||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Francois Chouinard <fchouinard> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | patrick.tasse | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 321366 | ||||||
| Attachments: |
|
||||||
|
Description
Matthew Khouzam
Created attachment 185162 [details]
Patch to overload the compareto event and make the sort more stable.
This is a proposed fix. It overloads the compare to so that it not only checks the timestamp but also the file name. This will ensure that the order of read events will be the same. It is the first step in solving the issue if an inconsistent seek.
I believe it works in 2.0. This bug was for Legacy LTTng which is being removed in Linux Tools 2.0. |