title: Trace libc and system call function calls on Linux?
body: <p>I have a C++ application on Linux. How can I see library calls to functions such as <code>malloc()</code> and then on to system calls such as <code>sbrk()</code>, etc., throughout the execution of the program?</p>
  <p>I would like this to show which libc functions occurred and responsible for the subsequent Linux system calls.</p>
  <p>NB: I don't wish to intercept any function calls, just to log which C library functions called which system calls.</p>