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

Christoph Hellwig
2009-08-26T18:42:46Z

On Wed, Aug 26, 2009 at 02:41:16PM -0400, Christoph Hellwig wrote:
> 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?

And if you really need to trace direct callers of sys_foo just put
a jprobe on it.