* gprof.c (main): For line-by-line profiling, there is no need to
authorBen Elliston <bje@au.ibm.com>
Tue, 13 Jul 2004 12:18:57 +0000 (12:18 +0000)
committerBen Elliston <bje@au.ibm.com>
Tue, 13 Jul 2004 12:18:57 +0000 (12:18 +0000)
specially exclude the default function set from the flat profile.

gprof/ChangeLog
gprof/gprof.c

index f414fba67be9a6e0597b5f067c1a45519edd5022..a2f3b1519df3498ddc74620432f16c7349907920 100644 (file)
@@ -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.
index 2ea58b87f29f1dd2e8817e1d1f50d8e7491e5cf3..dbb8cca20ffd1a7ca0a0693b71eee5e50744ae81 100644 (file)
@@ -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);
 
This page took 0.04608 seconds and 4 git commands to generate.