X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fbatchtest.c;h=5cd22fcc51ec02c27ddaba0bfdaa412e04a5f111;hb=e7f5e89d1b5a36b99c24b738f446923a72966b3c;hp=a7de1fd71aee30f0c18d3c68cd5569d6d2f39d8e;hpb=8fe3c6b699e245cf9a5263e687778dc10d501f4b;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/batchtest.c b/ltt/branches/poly/lttv/lttv/batchtest.c index a7de1fd7..5cd22fcc 100644 --- a/ltt/branches/poly/lttv/lttv/batchtest.c +++ b/ltt/branches/poly/lttv/lttv/batchtest.c @@ -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);