diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-06-16 09:20:31 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-06-16 09:20:31 +0100 |
commit | 1b76958d7305090006e13314f9d580c66c700633 (patch) | |
tree | 882bfe041da183b286f0d83a07f2fa996e7774d0 /README.markdown | |
parent | 732354adfadf838a74bf5ad982a063700cb829cf (diff) |
Fix trim doc.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index 2d37898f..5f97d871 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 ----------------- |