update for facility mismatch
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 23 Mar 2007 23:12:55 +0000 (23:12 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 23 Mar 2007 23:12:55 +0000 (23:12 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2453 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/configure.in
ltt/branches/poly/ltt/facility.c

index 80592c3ff6ab8f2ae375bf8b41846925ea0ad5be..d630f501c929f512f5eccb8b98855c5d013d0ee0 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.80-15032007)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.81-20032007)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index 8cb8cff44e3c7f1f4b061a4eb5bd17640a4d5b7e..e6573c9dd616f03518b4791f66c0fecc5a4d2a43 100644 (file)
@@ -138,10 +138,13 @@ int ltt_facility_open(LttFacility *f, LttTrace * t, gchar * pathname)
       checkNamedTypesImplemented(&fac->named_types);
     
       generateChecksum(fac->name, &checksum, &fac->events);
-      if(checksum == f->checksum) {
+      // FIXME if(checksum == f->checksum) {
         generateFacility(f, fac, checksum);
         generated = TRUE;
-      }
+      //}
+      if (checksum != f->checksum)
+       g_warning("Facility checksum mismatch for facility %s : kernel 0x%X vs "
+               "XML 0x%X\n", fac->name, f->checksum, checksum);
 
       g_free(fac->name);
       free(fac->capname);
@@ -194,7 +197,7 @@ void generateFacility(LttFacility *f, facility_t *fac, guint32 checksum)
   table_t *named_types = &fac->named_types;
   
   g_assert(f->name == g_quark_from_string(facilityName));
-  g_assert(f->checksum == checksum);
+  //g_assert(f->checksum == checksum);
 
   //f->event_number = events->position;
   
This page took 0.025191 seconds and 4 git commands to generate.