From: compudj Date: Fri, 23 Mar 2007 23:12:55 +0000 (+0000) Subject: update for facility mismatch X-Git-Tag: v0.12.20~1036 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cba098f34039de4c6398dda885dbf27ff4799f6e;p=lttv.git update for facility mismatch git-svn-id: http://ltt.polymtl.ca/svn@2453 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 80592c3f..d630f501 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -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 diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index 8cb8cff4..e6573c9d 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -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;