Tracing libc functions

Hi,
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

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.