This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Does anyone have idea of how to trace the funtion "gethostbyname"?
- From: Breno Leitao <leitao at linux dot vnet dot ibm dot com>
- To: Dongtao Liu <l dot dongtao at gmail dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 31 Oct 2008 09:33:42 -0500
- Subject: Re: Does anyone have idea of how to trace the funtion "gethostbyname"?
- References: <29445d0d0810291844y54d811fbqd2771a38615a3e79@mail.gmail.com>
Dongtao Liu wrote:
> I recently doing some work to record all DNS lookups in the system.
> Could anyone tell me how to trace the function of gethostbyname using
> SystemTap?
Since this is not a kernel function, you might want to probe userspace
functions.