Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757730AbZJBMs6 (ORCPT ); Fri, 2 Oct 2009 08:48:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757272AbZJBMs6 (ORCPT ); Fri, 2 Oct 2009 08:48:58 -0400 Received: from mail-bw0-f210.google.com ([209.85.218.210]:62275 "EHLO mail-bw0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757221AbZJBMs5 (ORCPT ); Fri, 2 Oct 2009 08:48:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nYWi/2bm3ZrvcwEiJIku+88BsAcCMbV2XqK8x5/y7dIfWnOTRDf22+b2WzxaWyN7yS TiHm2Sm+huw3HCc1ehnG0ZDzfvVTOxwrKDvHc4oGqGu6T8Ilp4Fuxr0AURUq3jgcK7jG fSyLPChHKLapHyCZlFtAC6yVkpFIdFTLF7XbM= MIME-Version: 1.0 In-Reply-To: <4AC43118.6050409@ct.jp.nec.com> References: <4AC43118.6050409@ct.jp.nec.com> Date: Fri, 2 Oct 2009 14:49:00 +0200 Message-ID: Subject: Re: [PATCH] trace: fix missing assignment in trace_ctxwake_* From: =?ISO-8859-1?Q?Fr=E9d=E9ric_Weisbecker?= To: Hiroshi Shimamoto Cc: Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 23 2009/10/1 Hiroshi Shimamoto : > From: Hiroshi Shimamoto > > The state char variable S should be reassigned, if S == 0. > > Signed-off-by: Hiroshi Shimamoto Good catch, we are indeed missing the state of the task that is going to sleep for the context switch events (in the raw mode). Acked-by: Frederic Weisbecker 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. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/