aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-07-13 12:18:57 +0000
committerBen Elliston <bje@au.ibm.com>2004-07-13 12:18:57 +0000
commit2ef8a0a8c2d6b1c34557b0f96e2c81b32f5d1a25 (patch)
tree41728303672645cb35acdc59d8d1a25a1c6e7d95 /gprof/gprof.c
parent2dd95497fe2b47a2f0322fe91dd894655a494256 (diff)
downloadbinutils-2ef8a0a8c2d6b1c34557b0f96e2c81b32f5d1a25.zip
binutils-2ef8a0a8c2d6b1c34557b0f96e2c81b32f5d1a25.tar.gz
binutils-2ef8a0a8c2d6b1c34557b0f96e2c81b32f5d1a25.tar.bz2
* gprof.c (main): For line-by-line profiling, there is no need to
specially exclude the default function set from the flat profile.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 2ea58b8..dbb8cca 100644
--- a/gprof/gprof.c
+++ b/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);