err = ltt_tracefile_read_update_event(tf);
if(err) goto fail;
+
+ /* deactivate this, as it does nothing for now
err = ltt_tracefile_read_op(tf);
if(err) goto fail;
+ */
return 0;
if(err) return err;
err = ltt_tracefile_read_update_event(tf);
if(err) return err;
+
+ /* deactivate this, as it does nothing for now
err = ltt_tracefile_read_op(tf);
if(err) return err;
+ */
return 0;
}
/* do an operation when reading a new event */
-/* do specific operation on events */
+/* This function does nothing for now */
+#if 0
int ltt_tracefile_read_op(LttTracefile *tf)
{
LttEvent *event;
event = &tf->event;
- /* do event specific operation */
+ /* do event specific operation */
+
+ /* nothing */
- /* do something if its an heartbeat event : increment the heartbeat count */
- //if(event->facility_id == LTT_FACILITY_CORE)
- // if(event->event_id == LTT_EVENT_HEARTBEAT)
- // tf->cur_heart_beat_number++;
-
return 0;
}
+#endif
static void print_debug_event_header(LttEvent *ev, void *start_pos, void *end_pos)
{