From: Hiroshi Shimamoto Date: Thu, 1 Oct 2009 04:33:28 +0000 (+0900) Subject: trace: Fix missing assignment in trace_ctxwake_* X-Git-Tag: v2.6.32-rc4~27^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f56f1a63b7b968e6feeeefeace24bc8e0a4a65;p=pandora-kernel.git trace: Fix missing assignment in trace_ctxwake_* The state char variable S should be reassigned, if S == 0. We are missing the state of the task that is going to sleep for the context switch events (in the raw mode). Fortunately the problem arises with the sched_switch/wake_up tracers, not the sched trace events. The formers are legacy now. But still, that was buggy. Signed-off-by: Hiroshi Shimamoto Cc: Steven Rostedt Acked-by: Frederic Weisbecker LKML-Reference: <4AC43118.6050409@ct.jp.nec.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed