From 1b76958d7305090006e13314f9d580c66c700633 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 16 Jun 2013 09:20:31 +0100 Subject: [PATCH] Fix trim doc. --- README.markdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 2d37898..5f97d87 100644 --- a/README.markdown +++ b/README.markdown @@ -294,14 +294,20 @@ You can make a video of the output with gstreamer by doing Trimming a trace ---------------- -You can make a smaller trace by doing: +You can truncate a trace by doing: - apitrace trim --callset 100-1000 -o trimed.trace applicated.trace + apitrace trim --exact --calls 0-12345 -o trimed.trace application.trace If you need precise control over which calls to trim you can specify the individual call numbers a plaintext file, as described in the 'Call sets' section above. +There is also experimental support for automatically trimming the calls +necessary for a given frame or call: + + apitrace trim --auto --calls=12345 -o trimed.trace application.trace + apitrace trim --auto --frames=12345 -o trimed.trace application.trace + Profiling a trace ----------------- -- 2.43.0