Browse Source

* gprof.c (main): For line-by-line profiling, there is no need to

specially exclude the default function set from the flat profile.
jimb-rda-nptl-branch
Ben Elliston 22 years ago
parent
commit
2ef8a0a8c2
  1. 5
      gprof/ChangeLog
  2. 8
      gprof/gprof.c

5
gprof/ChangeLog

@ -1,3 +1,8 @@
2004-07-13 Ben Elliston <bje@au.ibm.com>
* gprof.c (main): For line-by-line profiling, there is no need to
specially exclude the default function set from the flat profile.
2004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
* Makefile.in: Regenerate to clean up breakage.

8
gprof/gprof.c

@ -502,14 +502,6 @@ This program is free software. This program has absolutely no warranty.\n"));
sym_id_add (*sp, EXCL_FLAT);
}
/*
* For line-by-line profiling, also want to keep those
* functions off the flat profile:
*/
if (line_granularity)
for (sp = &default_excluded_list[0]; *sp; sp++)
sym_id_add (*sp, EXCL_FLAT);
/* Read symbol table from core file. */
core_init (a_out_name);

Loading…
Cancel
Save