From e88433a9ce304a9d49ae97c1d552742de777bb5a Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 9 Feb 2017 15:52:40 +0100 Subject: [PATCH] tracer: tools: add a brief tool description --- tracer/gsttr-stats.py | 2 ++ tracer/gsttr-tsplot.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tracer/gsttr-stats.py b/tracer/gsttr-stats.py index 5c3f536f13..3d9374ada3 100644 --- a/tracer/gsttr-stats.py +++ b/tracer/gsttr-stats.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 ''' +Aggregate values for each tracer event type and print them with some statistics. + How to run: 1) generate some log GST_DEBUG="GST_TRACER:7" GST_TRACERS="stats;rusage;latency" GST_DEBUG_FILE=trace.log diff --git a/tracer/gsttr-tsplot.py b/tracer/gsttr-tsplot.py index 0afc9a48dc..d8ccfd245c 100644 --- a/tracer/gsttr-tsplot.py +++ b/tracer/gsttr-tsplot.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 ''' +Plot buffer pts and events in relation to the wall clock. The plots can be used +to spot anomalies, such as processing gaps. + How to run: 1) generate a log GST_DEBUG="GST_TRACER:7" GST_TRACERS=stats GST_DEBUG_FILE=trace.log