From: Ingo Molnar Subject: Re: [PATCH 3/3] ftrace: add ability to only trace swapper tasks Date: Thu, 4 Dec 2008 16:36:26 +0100 Message-ID: <20081204153626.GB18293@elte.hu> References: <20081204052638.425740534@goodmis.org> <20081204052735.362609481@goodmis.org> <20081204001803.598063f5.akpm@linux-foundation.org> <20081204091023.GJ32594@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Eric W. Biederman" Cc: Andrew Morton , Steven Rostedt , linux-kernel@vger.kernel.org, Frederic Weisbecker , Peter Zijlstra , Dave Hansen , containers@lists.osdl.org, Sukadev Bhattiprolu , "Serge E. Hallyn" , Steven Rostedt List-Id: containers.vger.kernel.org * Eric W. Biederman wrote: > Ingo Molnar writes: > > > * Andrew Morton wrote: > > > >> > Signed-off-by: Steven Rostedt > >> > >> What does this patch actually do? Is swapper currently excluded from > >> tracing for undisclosed reasons and this patch permits it to be traced? > >> If so, why was swapper thus excluded? Or am I totally off track? > > > >> > +static struct pid * const ftrace_swapper_pid = (struct pid *)1; > >> > >> eh? > > > > all side-effects of getting rid of the integer based PID namespace > > and replacing them with struct pid pointers. > > Thanks for asking Andrew it looks like an unnecessary side effect. Will wait for how the end result looks like ;-) Ingo