igt/scripts: trace.pl to parse the i915 tracepoints
PATCH v2 1/1 igt/scripts: trace.pl to parse the i915 tracepoints
From: Tvrtko Ursulin <[email protected]>
Given a log file created via perf with some interesting trace events enabled, this tool can generate the timeline graph of requests getting queued, their dependencies resolved, sent to the GPU for executing and finally completed.
This can be useful when analyzing certain classes of performance issues. More help is available in the tool itself.
The tool will also calculate some overall per engine statistics, like total time engine was idle and similar.
v2:
* Address missing git add.
* Make html output optional (--html switch) and by default just output aggregated per engine stats to stdout.
Signed-off-by Tvrtko Ursulin <[email protected]>
Cc Chris Wilson <[email protected]>
Cc Harri Syrja <[email protected]>
Cc Krzysztof E Olinski <[email protected]>
--- scripts/Makefile.am | 2 +- scripts/trace.pl | 861 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 862 insertions(+), 1 deletion(-) create mode 100755 scripts/trace.pl
scripts/Makefile.am +1 -1
@@ -1,2 +1,2 @@ -dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh +dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh trace.pl noinst_PYTHON = throttle.py
scripts/trace.pl new file +861 -0
861 lines not on this page · raw message
Signature · 6 lines
2.9.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx