From: Mathieu Desnoyers Date: Fri, 27 Nov 2009 17:33:24 +0000 (-0500) Subject: state.c coding style fix X-Git-Tag: v0.12.26~70 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0fb145c40de29e1f97dd13a81df323260be6aab3;p=lttv.git state.c coding style fix Signed-off-by: Mathieu Desnoyers --- diff --git a/lttv/lttv/state.c b/lttv/lttv/state.c index 2dde6de6..595a777e 100644 --- a/lttv/lttv/state.c +++ b/lttv/lttv/state.c @@ -2935,13 +2935,12 @@ static gboolean dump_softirq(void *hook_data, void *call_data) return FALSE; } -static gboolean sched_try_wakeup(void *hook_data, void *call_data) { - +static gboolean sched_try_wakeup(void *hook_data, void *call_data) +{ LttvTracefileState *s = (LttvTracefileState *)call_data; - LttvProcessState *process; - LttEvent *e = ltt_tracefile_get_event(s->parent.tf); LttvTraceHook *th = (LttvTraceHook *)hook_data; + LttvProcessState *process; gint woken_pid; guint woken_cpu; @@ -2958,7 +2957,6 @@ static gboolean sched_try_wakeup(void *hook_data, void *call_data) { g_debug("Wakeup: process %d on CPU %u\n", woken_pid, woken_cpu); return FALSE; - } static gboolean schedchange(void *hook_data, void *call_data)