scripts/trace.pl: Re-order calculations and fixups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 6 repliesIn review
- v14 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | scripts/trace.pl: More hash key optimisationsscripts/ | +5 | 1 reply | |
| 1/4 | scripts/trace.pl: More hash key optimisationsscripts/ | +4 | 0 replies | |
| 1/4 | scripts/trace.pl: More hash key optimisationsscripts/ | +5 | 1 reply | |
| 2/4 | scripts/trace.pl: Sort orderscripts/ | +26 | 1 reply | |
| 3/4 | scripts/trace.pl: Calculate stats only after all mungingscripts/ | +28 | 2 replies | |
| 4/4 | scripts/trace.pl: Simplify 'end' & 'notify' generationscripts/ | +18 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Tvrtko Ursulin |
|---|---|
| 1/4 | R-b R-b |
| 1/4 | R-b R-b |
| 1/4 | R-b R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [PATCH i-g-t v2 0/4] scripts/trace.pl: Re-order calculations and fixups
From: John Harrison <[email protected]>
The trace.pl script calculates a bunch of statistics. It also re-generates some timestamp values to correct issues with the log being processed. These operations were all mixed up together thus some were done multiple times (with different results each time). Whereas some stats were not being re-calculated after the underlying data had changed and thus were not actually correct at the end. Also, the ordering of some operations was non-deterministic due to being based on internal Perl hash ordering.
These patches rationalise all of this processing to ensure that it all happens in the correct order and in a consistent manner.
v2: Review feedback from Tvrtko Ursulin.
John Harrison (4):
scripts/trace.pl: More hash key optimisations scripts/trace.pl: Sort order
scripts/trace.pl: Calculate stats only after all munging scripts/trace.pl: Simplify 'end' & 'notify' generation
scripts/trace.pl | 121 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 76 insertions(+), 45 deletions(-)
Signature · 6 lines
2.15.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev