remove test part
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 May 2003 19:39:49 +0000 (19:39 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 May 2003 19:39:49 +0000 (19:39 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@62 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/tracefile.c

index f16124f6daf041dc77894940c015b701a5a2f019..bfd8748230ef8829c46dc5e891b218c8a99ef65d 100644 (file)
@@ -8,7 +8,7 @@
 #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.025017 seconds and 4 git commands to generate.