Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756070AbYLDFwi (ORCPT ); Thu, 4 Dec 2008 00:52:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751815AbYLDFw1 (ORCPT ); Thu, 4 Dec 2008 00:52:27 -0500 Received: from mail.windriver.com ([147.11.1.11]:38038 "EHLO mail.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbYLDFw1 (ORCPT ); Thu, 4 Dec 2008 00:52:27 -0500 Message-ID: <49376BFE.2010501@windriver.com> Date: Thu, 04 Dec 2008 13:34:54 +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> In-Reply-To: <20081204052735.362609481@goodmis.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Dec 2008 05:51:33.0911 (UTC) FILETIME=[5D09A270:01C955D4] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 444 Lines: 14 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? 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/