Re: [PATCH 08/12] add trace events for each syscall entry/exit

Christoph Hellwig
2009-08-26T18:41:26Z

On Wed, Aug 26, 2009 at 01:08:12PM -0400, Mathieu Desnoyers wrote:
> Nah. And I start to feel comfortable with syscall entry/exit being only
> be traced for userspace threads. But as I pointed out in a follow-up
> email, the lack of sys_*() tracing for invocation from within the kernel
> might be problematic. This is actually my main point.

We do not support system calls from kernelspace anymore. All the
macros to do real system calls are gone, and there are very very few
places left calling sys_foo as normal function calls.

An how exactly is calling sys_foo as a normal function call different
from calling do_foo or vfs_foo?