create directories branches, tags, trunk
[lttv.git] / ltt / branches / poly / lttv / lttv / batchtest.c
index ba4e00a96750972b25655a87521623039d34835c..bc68f3730307d6480c976d6b6848dbee87128dee 100644 (file)
@@ -228,8 +228,10 @@ gboolean save_state_copy_event(void *hook_data, void *call_data)
 
   FILE *fp;
 
+  LttTrace *trace = ((LttvTracefileContext *)tfs)->t_context->t;
+
   if(ts->nb_event == 0 && 
-      ltt_eventtype_name(ltt_event_eventtype(e)) 
+      marker_get_info_from_id(trace, e->event_id)->name
                             == QUARK_BLOCK_START) {
     if(a_save_sample != NULL) {
       filename = g_string_new("");
@@ -305,7 +307,7 @@ static void compute_tracefile(LttTracefile *tracefile, void *hook_data)
   /* start_count is always initialized in this function _if_ there is always
    * a block_start before a block_end.
    */
-  long long unsigned cycle_count, start_count=0, delta_cycle;
+  //long long unsigned cycle_count, start_count=0, delta_cycle;
 
 
   filename = g_string_new("");
@@ -409,14 +411,6 @@ static gboolean process_traceset(void __UNUSED__ *hook_data,
 
   LttTrace *trace;
 
-  long long unsigned start_nsec, end_nsec, delta_nsec, added_nsec, added_nsec2;
-
-  double cycle_per_nsec, nsec_per_cycle;
-
-  long long interpolated_nsec, interpolated_nsec2, end_nsec_sec, end_nsec_nsec;
-
-  LttTime start_time;
-
   LttTime max_time = { G_MAXULONG, G_MAXULONG };
 
   a_event_position = ltt_event_position_new();
This page took 0.022473 seconds and 4 git commands to generate.