tracing send and recv system call

Kristof Provost kristof at sigsegv.be
Mon Jun 3 09:11:46 EDT 2013


On 2013-06-03 14:12:16 (+0530), Varun Sharma <vsdssd at gmail.com> wrote:
> Hi,
> I am tracing send and recv system call .From user space to kernel space
> switching
> send in kernel space not going into sys_send .It directly going into
> sys_sendto .

Apparently glibc implements send() using the sendto() syscall.
The problem isn't really with the traces you added to the kernel, but
that you forgot there's another layer between your application and the
kernel.

Regards.
Kristof



More information about the Kernelnewbies mailing list