From 2ef8a0a8c2d6b1c34557b0f96e2c81b32f5d1a25 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 13 Jul 2004 12:18:57 +0000 Subject: [PATCH] * gprof.c (main): For line-by-line profiling, there is no need to specially exclude the default function set from the flat profile. --- gprof/ChangeLog | 5 +++++ gprof/gprof.c | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index f414fba67be..a2f3b1519df 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2004-07-13 Ben Elliston + + * 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 * Makefile.in: Regenerate to clean up breakage. diff --git a/gprof/gprof.c b/gprof/gprof.c index 2ea58b87f29..dbb8cca20ff 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); -- 2.30.2