gcc function tracing for profiling and debugging