Is it possible to print a list of all functions used during a program run? The program and the library used by the program is compiled with GCC without optimization.
The reason for this list is that I'd like to optimize a library which has a lot of unused functions (the library is really huge and I need only a few functions).