Re: [RFC PATCH v2] Tracepoint: add exec tracepoint

From: David Smith
Date: Mon Nov 07 2011 - 10:57:49 EST


On 11/07/2011 06:56 AM, Peter Zijlstra wrote:

> On Thu, 2011-11-03 at 10:59 -0500, David Smith wrote:
>> Added general purpose exec tracepoint. The 'bprm' argument gives
>> details of the exec.

>>

> This 'changelog' if one can call it that, is completely devoid of
> rationale, why should we care and why should we merge.


Sorry for being too terse.

Exec is an important major event in the life of a task (like fork or
exit). If you want to watch a task start up, when it gets exec'ed is a
good place to start. With the addition of this tracepoint, we can
monitor exec's and get a better picture of system activity in general.
This will also enable better process tracking, allowing you to answer
questions like "what process keeps starting up process X?".

This tracepoint can also be useful in ftrace filtering (i.e. starting or
stopping filtering when exec is called)

--
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/