From 49bd6980578bb06b92db84f966e1a0e25950c16a Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 30 May 2003 19:39:49 +0000 Subject: [PATCH] remove test part git-svn-id: http://ltt.polymtl.ca/svn@62 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/tracefile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index f16124f6..bfd87482 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -8,7 +8,7 @@ #include "parser.h" #include -#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; -- 2.34.1