Knowing the user-space library functions being called is as useful as knowing the system functions being invoked. The ltrace command provides a similar function to strace; however, it tracks user-space library calls instead of system calls.
Tracing dynamic library functions with ltrace
Getting ready
Have the ltrace command installed using the Developer tools.
How to do it...
To trace user-space dynamic library calls, invoke the strace command, followed by the command you want to trace:
$ ltrace myApplication
The next example is a program with a subroutine:
$ cat test.c #include <stdio.h> #include <...