]> git.cworth.org Git - apitrace/commit
trim: Prune uninteresting calls while trimming (unless --no-prune is passed)
authorCarl Worth <cworth@cworth.org>
Sat, 11 Aug 2012 18:33:12 +0000 (11:33 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 22 Nov 2012 08:02:58 +0000 (08:02 +0000)
commit16b18dbbde2d13a418dca9fb4bdcd7538c546a39
tree202a25d06fc54d57291d7d292844fb965f26758b
parentf630d9d87c8758269a9b1aeec2db008cbc105b60
trim: Prune uninteresting calls while trimming (unless --no-prune is passed)

Examine the CALL_FLAG_UNINTERESTING flag and leave out these calls
when trimming. These calls are generally the calls that have no side
effects, (such as query functions). Some calls without side effects
might be considered interesting, (such as glGetError returning a
non-zero error).

This pruning behavior can be avoided by passing the new --no-prune
option (or the new --exact option which is identical to passing both
--no-prune and -no-deps).
cli/cli_trim.cpp