summaryrefslogtreecommitdiff
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
commit485ff06eb500f06cf111400b828f44c3be8e283c (patch)
treedbdae1bde565c879e0ab109505ab6bc94c8328c2 /gprof/gprof.c
parentfc2720e42656ce3d6655a6b3a94da43ab531f95e (diff)
downloadbinutils-redhat-485ff06eb500f06cf111400b828f44c3be8e283c.tar.gz
* 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 2ea58b87f2..dbb8cca20f 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);