From: compudj Date: Wed, 10 Oct 2007 19:19:09 +0000 (+0000) Subject: update error in state.c X-Git-Tag: v0.12.20~858 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=370231d773499c6dc367b96172557715427cb6d4;p=lttv.git update error in state.c git-svn-id: http://ltt.polymtl.ca/svn@2631 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 9c223da0..eda3bf02 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -3025,9 +3025,6 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) LttvAttributeValue val; - gint ret; - gint hn; - nb_trace = lttv_traceset_number(traceset); for(i = 0 ; i < nb_trace ; i++) { ts = (LttvTraceState *)self->parent.traces[i]; @@ -3093,7 +3090,7 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) lttv_trace_find_hook(ts->parent.t, LTT_EVENT_KTHREAD_CREATE, - FIELD_ARRAY(LTT_FIELD_PID) + FIELD_ARRAY(LTT_FIELD_PID), process_kernel_thread, NULL, &hooks); lttv_trace_find_hook(ts->parent.t,