From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [PATCH 2/3] ftrace: use struct pid Date: Thu, 04 Dec 2008 06:32:55 -0800 Message-ID: References: <20081204052638.425740534@goodmis.org> <20081204052735.175697908@goodmis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Steven Rostedt's message of "Thu, 4 Dec 2008 09:23:07 -0500 (EST)") Sender: linux-kernel-owner@vger.kernel.org To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Frederic Weisbecker , Peter Zijlstra , Dave Hansen , containers@lists.osdl.org, Sukadev Bhattiprolu , "Serge E. Hallyn" , Steven Rostedt List-Id: containers.vger.kernel.org Steven Rostedt writes: > On Thu, 4 Dec 2008, Eric W. Biederman wrote: > >> Steven Rostedt writes: >> >> > From: Steven Rostedt >> > >> > Impact: clean up >> > >> > Eric Biederman suggested using the struct pid for filtering on >> > pids in the kernel. This patch is based off of a demonstration >> > of an implementation that Eric sent me in an email. >> >> Please find_get_vpid and pid_vnr. > > I could not find a "find_get_vpid". Doh. Grumble Pavel Grumble. find_get_pid is the right one. Sorry. We have a stupid inconsistency in the naming here, If we were consistent it would be find_get_vpid. pid_vnr in that case then pid_vnr is definitely what you want to use when talking to user space. Eric