This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

default_excluded_list[] and flat profile


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]