Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756189AbYLDGKr (ORCPT ); Thu, 4 Dec 2008 01:10:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753224AbYLDGK3 (ORCPT ); Thu, 4 Dec 2008 01:10:29 -0500 Received: from mail.windriver.com ([147.11.1.11]:40282 "EHLO mail.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753205AbYLDGKX (ORCPT ); Thu, 4 Dec 2008 01:10:23 -0500 Message-ID: <49376FC1.1060701@windriver.com> Date: Thu, 04 Dec 2008 13:50:57 +0800 From: Wang Liming User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Steven Rostedt CC: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Frederic Weisbecker , Peter Zijlstra , Dave Hansen , containers@lists.osdl.org, Eric Biederman , Sukadev Bhattiprolu , "Serge E. Hallyn" , Steven Rostedt Subject: Re: [PATCH 3/3] ftrace: add ability to only trace swapper tasks References: <20081204052638.425740534@goodmis.org> <20081204052735.362609481@goodmis.org> <49376BFE.2010501@windriver.com> In-Reply-To: <49376BFE.2010501@windriver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Dec 2008 06:07:40.0781 (UTC) FILETIME=[9D5649D0:01C955D6] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 25 Wang Liming wrote: > Steven Rostedt wrote: > > /* set when tracing only a pid */ > > struct pid *ftrace_pid_trace; > >+static struct pid * const ftrace_swapper_pid = (struct pid *)1; > > swapper pid is 1? not 0? hmm.. I skip "struct pid", please ignore this mail. > > > Liming Wang > -- > 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/ > -- 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/