changes for gprof profiler