X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Ftext%2FbatchAnalysis.c;h=0fbde4d2a9fd34df8188fef17c761647089ee586;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=e0f453bf111f57c5df06a63eba6eb9f36d86d193;hpb=190724cdfc53eeebfd895b594f875b53a72adf37;p=lttv.git diff --git a/lttv/modules/text/batchAnalysis.c b/lttv/modules/text/batchAnalysis.c index e0f453bf..0fbde4d2 100644 --- a/lttv/modules/text/batchAnalysis.c +++ b/lttv/modules/text/batchAnalysis.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ /* This module inserts a hook in the program main loop. This hook processes @@ -84,19 +84,21 @@ void lttv_trace_option(void *hook_data) static gboolean process_traceset(void *hook_data, void *call_data) { +#ifdef BABEL_CLEANUP LttvAttributeValue value_expression, value_filter; LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes()); -#ifdef BABEL_CLEANUP LttvTracesetStats *tscs = NULL; LttvTracesetState *tss; LttvTracesetContext *tc; + + gboolean retval; #endif LttTime start, end; - gboolean retval; + g_info("BatchAnalysis begin process traceset"); #ifdef BABEL_CLEANUP @@ -159,7 +161,9 @@ static gboolean process_traceset(void *hook_data, void *call_data) lttv_process_traceset_seek_time(traceset, start); /* Read as long a we do not reach the end (0) */ unsigned int count; +#ifdef BABEL_CLEANUP unsigned int updated_count; +#endif do { count = lttv_process_traceset_middle(traceset, end,