compile fixes
[lttv.git] / ltt / branches / poly / ltt / tracefile.c
index f16124f6daf041dc77894940c015b701a5a2f019..f1b14a828d28db792f52b4a86d87fb4392334318 100644 (file)
@@ -4,11 +4,11 @@
 #include <sys/types.h>
 #include <linux/errno.h>  
 
-#include "LTTTypes.h"  
+#include <ltt/LTTTypes.h>  
 #include "parser.h"
 #include <ltt/tracefile.h>
 
-#include "default.h"  //yxx test
+//#include "default.h"  //yxx test
 
 /* set the offset of the fields belonging to the event,
    need the information of the archecture */
@@ -557,8 +557,8 @@ ltt_event *ltt_tracefile_read(ltt_tracefile *t)
   lttEvent->event_id = (int)(*(uint8_t *)(t->cur_event_pos));
   evT = ltt_tracefile_eventtype_get(t, (unsigned)lttEvent->event_id);
   fac = evT->facility;
-  if(evT->index == TRACE_EV_HEARTBEAT && strcmp(fac->name, "default")==0)
-    t->cur_heart_beat_number++;
+  //  if(evT->index == TRACE_EV_HEARTBEAT && strcmp(fac->name, "default")==0)
+  //    t->cur_heart_beat_number++;
   lttEvent->cycle_count=*(uint32_t*)(t->cur_event_pos + EVENT_ID_SIZE);
   lttEvent->tracefile = t;
   lttEvent->data = t->cur_event_pos + EVENT_HEADER_SIZE;  
This page took 0.023566 seconds and 4 git commands to generate.