From 9e2ddd590bc1e7437f7a3b57d91bfc76987c5a47 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 5 Mar 2009 20:13:08 +0000 Subject: [PATCH] fix state when missing trap events git-svn-id: http://ltt.polymtl.ca/svn@3338 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/configure.in | 2 +- trunk/lttv/lttv/lttv/state.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/trunk/lttv/configure.in b/trunk/lttv/configure.in index 4638586c..95a60dc8 100644 --- a/trunk/lttv/configure.in +++ b/trunk/lttv/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(lttv,0.12.11-18022009) +AM_INIT_AUTOMAKE(lttv,0.12.12-05032009) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/trunk/lttv/lttv/lttv/state.c b/trunk/lttv/lttv/lttv/state.c index 52c8ea6b..821ea4d8 100644 --- a/trunk/lttv/lttv/lttv/state.c +++ b/trunk/lttv/lttv/lttv/state.c @@ -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); -- 2.34.1