From: pmf Date: Fri, 30 May 2008 15:15:30 +0000 (+0000) Subject: state.c: softirqs cannot be pending more than once X-Git-Tag: v0.12.20~556 X-Git-Url: http://git.lttng.org/?p=lttv.git;a=commitdiff_plain;h=fc5000a1b014e55f5f9cb0b9f185f77e931b0dd0 state.c: softirqs cannot be pending more than once git-svn-id: http://ltt.polymtl.ca/svn@2933 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 3c73641d..6fb3b2af 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -2557,7 +2557,8 @@ static gboolean soft_irq_raise(void *hook_data, void *call_data) } /* update softirq status */ - ts->soft_irq_states[softirq].pending++; + /* a soft irq raises are not cumulative */ + ts->soft_irq_states[softirq].pending=1; return FALSE; }