If you give the -z option, "gprof" will mention all functions in the flat profile, even those that were never called, and that had no time spent in them. ###>If you give the -z option, "gprof" will mention all functions in the flat profile, even those that were never called, and that had no time spent in them.