I'm on an Ubuntu x86_64 system. I know we have the strace command to trace the system calls in our programs. However I'd like to know if there is a way ( other than inspecting the GNU C library source codes ) to get the complete function calls chain. For example when I do :
printf("Hello World\n");
I'd like to know the complete function call chain from printf all the way down to the write system call ( not the wrapper function )
Debugger is for that. Example debugging
echoprogram: