]> git.cworth.org Git - apitrace/commit
trim: Add a new --print-callset option.
authorCarl Worth <cworth@cworth.org>
Wed, 15 Aug 2012 23:35:38 +0000 (16:35 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:03:20 +0000 (08:03 +0000)
commitab82b3b949caad0be4e0759a0bce6fa9fd76d2f5
treeb46ad2facf2a063fb82591753f2f2ecfbed6be47
parent46abfd19dde22a7aeaf7609753ccf506135aed65
trim: Add a new --print-callset option.

This is useful whenever one has a need to manually tweak the trim operation.

Simply run:

apitrace trim --print-callset --frames=<whatever> --calls=<whatever>

as desired. Then take the resulting callset that is printed and run:

apitrace trim --calls=<callset> --exact

This should yield an identical trimming operation. Then this operation
can be tweaked by appending call ranges to the --calls option,
deleting rangess from the --calls option, or by appending a new
--frames option.
cli/cli_trim.cpp