Re: [PATCH] tracer for sys_open() - sreadahead

From: Frank Ch. Eigler
Date: Tue Jan 27 2009 - 19:44:24 EST


Frederic Weisbecker <fweisbec@xxxxxxxxx> writes:

> [...]
> Speaking about a global syscall tracer, I made a patch to trace only the syscalls
> with the function-graph-tracer.
> http://lkml.org/lkml/2008/12/30/267 This low-level part can easily
> be used by all tracers that would like to inspect syscalls.
> [...]
> Just a change is needed: Steven requested that the part inside
> syscall_trace_enter become a tracepoint, making it totally shareable
> between tracers and easy to turn on and off.

Alternately, you could just rely on utrace's hooks. They were thought
out more fully with respect to parameter access, manipulation, and
programmatic control befitting even a debugger.


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