Skip to content

scripts/trace.pl: Re-order calculations and fixups

[email protected] igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v14 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scripts/trace.pl: More hash key optimisationsscripts/trace.pl+5 -31 reply
1/4scripts/trace.pl: More hash key optimisationsscripts/trace.pl+4 -20 replies
1/4scripts/trace.pl: More hash key optimisationsscripts/trace.pl+5 -21 reply
2/4scripts/trace.pl: Sort orderscripts/trace.pl+26 -41 reply
3/4scripts/trace.pl: Calculate stats only after all mungingscripts/trace.pl+28 -262 replies
4/4scripts/trace.pl: Simplify 'end' & 'notify' generationscripts/trace.pl+18 -131 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchTvrtko Ursulin
1/4R-b R-b
1/4R-b R-b
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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