batchtest with tracecontext shown no more time going back
[lttv.git] / ltt / branches / poly / lttv / lttv / batchtest.c
index a7de1fd71aee30f0c18d3c68cd5569d6d2f39d8e..5cd22fcc51ec02c27ddaba0bfdaa412e04a5f111 100644 (file)
@@ -169,7 +169,7 @@ gboolean trace_event(void __UNUSED__ *hook_data, void *call_data)
   LttEvent *e = ltt_tracefile_get_event(tfs->parent.tf);
   ltt_event_position(e, a_event_position);
   ltt_event_position_get(a_event_position, &tf, &nb_block, &offset, &tsc);
-  fprintf(stderr,"Event %s %lu.%09lu [%u %u tsc %llu]\n",
+  fprintf(stderr,"Event %s %lu.%09lu [%u 0x%x tsc %llu]\n",
       g_quark_to_string(ltt_eventtype_name(ltt_event_eventtype(e))),
       tfs->parent.timestamp.tv_sec, tfs->parent.timestamp.tv_nsec,
       nb_block, offset, tsc);
@@ -196,7 +196,7 @@ gboolean count_event(void *hook_data, void __UNUSED__ *call_data)
   ltt_event_position_get(a_event_position, &tf_pos, &nb_block, &offset, &tsc);
   
   if(ltt_time_compare(time, count_previous_time) < 0) {
-    g_warning("Time decreasing trace %s tracefile %s cpu %u position %u/%u",
+    g_warning("Time decreasing trace %s tracefile %s cpu %u position %u/0x%x",
   g_quark_to_string(ltt_trace_name(ltt_tracefile_get_trace(tracefile))),
   g_quark_to_string(ltt_tracefile_name(tracefile)), 
   ltt_tracefile_num(tracefile), nb_block, offset);
@@ -340,7 +340,7 @@ static void compute_tracefile(LttTracefile *tracefile, void *hook_data)
         g_quark_to_string(ltt_tracefile_name(tracefile)));
 
     if(ltt_time_compare(time, previous_time) < 0) {
-      g_warning("Time decreasing trace %s tracefile %s cpu %u position %u/%u",
+      g_warning("Time decreasing trace %s tracefile %s cpu %u position %u/0x%x",
     g_quark_to_string(ltt_trace_name(ltt_tracefile_get_trace(tracefile))),
     g_quark_to_string(ltt_tracefile_name(tracefile)), 
     ltt_tracefile_num(tracefile), nb_block, offset);
This page took 0.023392 seconds and 4 git commands to generate.