Re: [RFC PATCH] Tracepoint: add exec tracepoint

From: David Smith
Date: Tue Oct 18 2011 - 15:31:48 EST


On 10/18/2011 01:58 PM, Christoph Hellwig wrote:

> On Tue, Oct 18, 2011 at 01:41:35PM -0500, David Smith wrote:
>> Added general purpose exec tracepoint. The 'bprm' argument gives details of the exec.
>
> Given that you only need the filename from the bprm please just pass
> it directly.


Thanks for looking at the patch.

I'm not totally opposed to this change, but passing bprm allows custom
tracepoint handlers to look at other fields in bprm besides filename,
which could be useful (depending on your needs).

But, I don't have a real strong opinion here.

--
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
--
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/