fix state when missing trap events
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 5 Mar 2009 20:13:08 +0000 (20:13 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 5 Mar 2009 20:13:08 +0000 (20:13 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3338 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/configure.in
trunk/lttv/lttv/lttv/state.c

index 4638586cf993c6f4b712d7b5aa79008ba1061b4a..95a60dc84b198ae767b702cc35ff6d6b34770455 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(lttv,0.12.11-18022009)
+AM_INIT_AUTOMAKE(lttv,0.12.12-05032009)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index 52c8ea6b963bec3e0a983b23173849a14db1b89f..821ea4d8112e70464777194f880398598e63aaa9 100644 (file)
@@ -1962,6 +1962,11 @@ create_name_tables(LttvTraceState *tcs)
         LTT_CHANNEL_KERNEL,
         LTT_EVENT_TRAP_ENTRY,
         FIELD_ARRAY(LTT_FIELD_TRAP_ID),
+        NULL, NULL, &hooks) ||
+     !lttv_trace_find_hook(tcs->parent.t,
+        LTT_CHANNEL_KERNEL,
+        LTT_EVENT_PAGE_FAULT_ENTRY,
+        FIELD_ARRAY(LTT_FIELD_TRAP_ID),
         NULL, NULL, &hooks)) {
 
 //    th = lttv_trace_hook_get_first(&th);
This page took 0.025653 seconds and 4 git commands to generate.