]> git.cworth.org Git - apitrace/commit
trim: Add a new --trim-spec option for fine-grained trimming
authorCarl Worth <cworth@cworth.org>
Thu, 15 Nov 2012 04:55:31 +0000 (20:55 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Feb 2013 15:46:13 +0000 (15:46 +0000)
commit25fe524415ade86b96e5d260134fab7de587b227
treea626ec6dfac4612cc852061521ecd5c8859e8f79
parent584e70d8444d1f91f1b6e78f5603295b0157e26c
trim: Add a new --trim-spec option for fine-grained trimming

This has two benefits:

1. In cases where the dependency analysis goes wrong, using the --trim-spec
   option can help identify which portion of the code is misbehaving, (and
   allows the user to still get some trim benefit by avoiding the broken
   code).

2. The implementation of this change breaks the analysis code up into several
   more fine-grained functions, so it should be easier to review and maintain.
cli/cli_trim.cpp
cli/trace_analyzer.cpp
cli/trace_analyzer.hpp