From: compudj Date: Tue, 27 Jan 2004 20:51:42 +0000 (+0000) Subject: directory creation X-Git-Tag: v0.12.20~3091 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=60b53e4f2fe19905eb89126c23101d200d3f7ad6;p=lttv.git directory creation git-svn-id: http://ltt.polymtl.ca/svn@398 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/processTrace.c b/ltt/branches/poly/lttv/processTrace.c index 700a81e1..4a290dd0 100644 --- a/ltt/branches/poly/lttv/processTrace.c +++ b/ltt/branches/poly/lttv/processTrace.c @@ -678,10 +678,10 @@ void lttv_process_traceset(LttvTracesetContext *self, LttTime end, if(!lttv_hooks_call(tfc->check_event, tfc)) { id = ltt_event_eventtype_id(tfc->e); - lttv_hooks_call(tfc->before_event, tfc); lttv_hooks_call(lttv_hooks_by_id_get(tfc->before_event_by_id, id), tfc); - lttv_hooks_call(tfc->after_event, tfc); + lttv_hooks_call(tfc->before_event, tfc); lttv_hooks_call(lttv_hooks_by_id_get(tfc->after_event_by_id, id), tfc); + lttv_hooks_call(tfc->after_event, tfc); } event = ltt_tracefile_read(tfc->tf); diff --git a/ltt/branches/poly/lttv/state.c b/ltt/branches/poly/lttv/state.c index 1457bade..dbdb11ce 100644 --- a/ltt/branches/poly/lttv/state.c +++ b/ltt/branches/poly/lttv/state.c @@ -534,7 +534,7 @@ static LttvProcessState *create_process(LttvTracefileState *tfs, char buffer[128]; tcs = (LttvTraceState *)tc = tfs->parent.t_context; - + g_hash_table_insert(tcs->processes, GUINT_TO_POINTER(pid), process); process->pid = pid;