This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
default_excluded_list[] and flat profile
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 14 Aug 2002 17:45:38 -0700
- Subject: default_excluded_list[] and flat profile
- Organization: Wasabi Systems, Inc.
Can someone please explain to me why gprof.c:main() has:
/*
* Turn off default functions:
*/
for (sp = &default_excluded_list[0]; *sp; sp++)
{
sym_id_add (*sp, EXCL_TIME);
sym_id_add (*sp, EXCL_GRAPH);
#ifdef __alpha__
sym_id_add (*sp, EXCL_FLAT);
#endif
}
I'm a little curious why the __alpha__ there. More to the point, I'm
puzzled why you would want stuff from the default exclude list (like,
say, __mcount()) to show up in the flat profile at all.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>