This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does anyone have idea of how to trace the funtion "gethostbyname"?


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. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]