]> git.cworth.org Git - apitrace/commit
trim: Add framework for performing dependency analysis while trimming
authorCarl Worth <cworth@cworth.org>
Fri, 10 Aug 2012 17:15:30 +0000 (10:15 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:02:47 +0000 (08:02 +0000)
commit163b22c70bb09acfa67bdbb954058716aa57a2cb
tree102f0c6234f2534e5719a63988c7e29e664d4f26
parentdb82d4062fd73362be2ceb66068720cab2814a74
trim: Add framework for performing dependency analysis while trimming

The current analysis is as brain-dead as possible. All calls are
interpreted as affecting the current "state" resource, and all calls
are also interpreted as depending on the current "state". In other
words, no calls at all will be trimmed. Obviously, this is not useful
analysis, but all the framewok is now present for easily doing more
interesting things.

A new --no-deps option is now made available to "apitrace trim" so
that users can avoid all dependency analysis and still get the prior
behavior where only calls explicitly included in the --calls option
are included in the trim output.
cli/cli_trim.cpp