Re: [PATCH 2/3] ftrace: use struct pid

From: Eric W. Biederman
Date: Thu Dec 04 2008 - 09:36:37 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> writes:

> On Thu, 4 Dec 2008, Eric W. Biederman wrote:
>
>> Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
>>
>> > From: Steven Rostedt <srostedt@xxxxxxxxxx>
>> >
>> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/