summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-08-06 12:19:25 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-08-06 12:24:52 +0100
commitd9809aa93ce4bdeb57f1ab81decea4b54cf20026 (patch)
tree8b62746692a01fb7d5e18acd1205249d8f4b2ee9 /docs
parent6ddfd98cdafefaa1b60273d5568b8dbd13730dae (diff)
cli: Split automatic trimming into its own command.
Automatic trimming hasn't graduated its experimental status: it still has several limitations and bugs, and hasn't been maintained pretty much since it was merged. Keeping automatic and exact trimming together ends up confusing users, and also makes the exact trimming unnecessarily slow and complex (2 passes over the trace where 1 pass would suffice.) I also hope one day to rewrite auto-trimming (autotrim-v2 branch.)
Diffstat (limited to 'docs')
-rw-r--r--docs/USAGE.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/USAGE.markdown b/docs/USAGE.markdown
index d90dbe8c..eb4a8729 100644
--- a/docs/USAGE.markdown
+++ b/docs/USAGE.markdown
@@ -363,7 +363,7 @@ You can make a video of the output with gstreamer by doing
You can truncate a trace by doing:
- apitrace trim --exact --calls 0-12345 -o trimed.trace application.trace
+ apitrace trim --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 in a plain text file, as described in the 'Call sets'
@@ -372,8 +372,8 @@ 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
+ apitrace trim-auto --calls=12345 -o trimed.trace application.trace
+ apitrace trim-auto --frames=12345 -o trimed.trace application.trace
## Profiling a trace ##