View topic - Tracing libc functions

Tracing libc functions

anything that doesn't fit to other groups.

Tracing libc functions

Postby Amit Hegde » Mon May 21, 2012 7:32 am

Is it possible to trace libc function's entry exit events using System Analysis Tool Kit (SAT)
eg libc read() function's entry & exit events.

The need is to get timestamp logs for latency measurements.

If this is possible, can sample code be shared.

Thanks & Regards
Amit Hegde
Amit Hegde
New Member
Posts: 1
Joined: Mon May 21, 2012 6:47 am

Re: Tracing libc functions

Postby maschoen » Mon May 21, 2012 8:29 pm

I think you would need to get the source to libc to do that. It's possible but I think unlikely. If you just need some data, you might want to look into the kernel trace facility.
QNX Master
Posts: 2720
Joined: Wed Jun 25, 2003 5:18 pm

Return to General Programming

Who is online

Users browsing this forum: No registered users and 5 guests