From: compudj Date: Thu, 5 Mar 2009 20:13:08 +0000 (+0000) Subject: fix state when missing trap events X-Git-Tag: v0.12.20~151 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9e2ddd590bc1e7437f7a3b57d91bfc76987c5a47;p=lttv.git fix state when missing trap events git-svn-id: http://ltt.polymtl.ca/svn@3338 04897980-b3bd-0310-b5e0-8ef037075253 --- 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);