Update FSF address
[lttv.git] / lttv / modules / text / batchAnalysis.c
index cfd2bab72bd4fbb994f60258e8f9caed3779bd39..0fbde4d2a9fd34df8188fef17c761647089ee586 100644 (file)
@@ -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 
@@ -36,7 +36,6 @@
 #include <lttv/stats.h>
 #include <lttv/filter.h>
 #endif
-#include <ltt/trace.h>
 #ifdef BABEL_CLEANUP_SYNC
 #include <lttv/sync/sync_chain_lttv.h>
 #endif
@@ -85,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
@@ -160,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,
This page took 0.023246 seconds and 4 git commands to generate.