Re: Official request: Please make GNU grep the default

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Sun, 15 Aug 2010 21:07:59 +0200
Justin Hibbits <chmeeedalf_at_gmail.com> writes:
> Why not perform a run or two with portmaster and bsdgrep with
> profiling, and send Gabor those results?

That's just about the only sensible thing anyone has said in this
thread.

I built a profiling version of BSD grep and ran it with a regexp that
matches only the very last line in (my copy of) INDEX-9.  The results
are pretty clear:

  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 84.0       3.75     3.75        0  100.00%           _mcount [1]
  6.8       4.05     0.30        0  100.00%           .mcount (118)
  3.8       4.22     0.17 19969171     0.00     0.00  fgetc [7]
  2.7       4.34     0.12 19989841     0.00     0.00  grep_feof [8]
  1.3       4.40     0.06 19969171     0.00     0.00  grep_fgetc [6]
  0.8       4.44     0.04    20670     0.00     0.02  grep_fgetln [5]
  0.4       4.45     0.02      163     0.10     0.10  _read [9]
  0.0       4.46     0.00        0   32.01%           re_search_internal [14]
  0.0       4.46     0.00    20730     0.00     0.00  memset [20]
  0.0       4.46     0.00    20979     0.00     0.00  arena_malloc [15]
  0.0       4.46     0.00    20795     0.00     0.00  arena_dalloc [25]
  0.0       4.46     0.00    20976     0.00     0.00  arena_bin_malloc_easy [21]
  0.0       4.46     0.00    20976     0.00     0.00  arena_run_rc_incr [26]
  0.0       4.46     0.00    20979     0.00     0.00  choose_arena [29]
  0.0       4.46     0.00    62118     0.00     0.00  free [18]
  0.0       4.46     0.00    41774     0.00     0.00  malloc_spin_unlock [33]
  0.0       4.46     0.00        1     0.37   401.83  procfile [4]
  0.0       4.46     0.00    20795     0.00     0.00  idalloc [19]
  0.0       4.46     0.00        0  100.00%           regexec [36]

Ignore the first two lines (that's the profiling code itself).  Note
that the top five lines are all in stdio, and nothing else even shows up
on the radar.  I only included enough output to show where the regexp
code ranks; the complete output is attached.

I hate to suggest reinventing the wheel, but IMHO, this is clearly a
case where it would pay to use hand-rolled buffered input routines
instead of stdio.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no


	None




call graph profile:
          The sum of self and descendents is the major sort
          for this listing.

          function entries:

index     the index of the function in the call graph
          listing, as an aid to locating it (see below).

%time     the percentage of the total time of the program
          accounted for by this function and its
          descendents.

self      the number of seconds spent in this function
          itself.

descendents
          the number of seconds spent in the descendents of
          this function on behalf of this function.

called    the number of times this function is called (other
          than recursive calls).

self      the number of times this function calls itself
          recursively.

name      the name of the function, with an indication of
          its membership in a cycle, if any.

index     the index of the function in the call graph
          listing, as an aid to locating it.



          parent listings:

self*     the number of seconds of this function's self time
          which is due to calls from this parent.

descendents*
          the number of seconds of this function's
          descendent time which is due to calls from this
          parent.

called**  the number of times this function is called by
          this parent.  This is the numerator of the
          fraction which divides up the function's time to
          its parents.

total*    the number of times this function was called by
          all of its parents.  This is the denominator of
          the propagation fraction.

parents   the name of this parent, with an indication of the
          parent's membership in a cycle, if any.

index     the index of this parent in the call graph
          listing, as an aid in locating it.



          children listings:

self*     the number of seconds of this child's self time
          which is due to being called by this function.

descendent*
          the number of seconds of this child's descendent's
          time which is due to being called by this
          function.

called**  the number of times this child is called by this
          function.  This is the numerator of the
          propagation fraction for this child.

total*    the number of times this child is called by all
          functions.  This is the denominator of the
          propagation fraction.

children  the name of this child, and an indication of its
          membership in a cycle, if any.

index     the index of this child in the call graph listing,
          as an aid to locating it.



          * these fields are omitted for parents (or
          children) in the same cycle as the function.  If
          the function (or child) is a member of a cycle,
          the propagated times and propagation denominator
          represent the self time and descendent time of the
          cycle as a whole.

          ** static-only parents and children are indicated
          by a call count of 0.



          cycle listings:
          the cycle as a whole is listed with the same
          fields as a function entry.  Below it are listed
          the members of the cycle, and their contributions
          to the time and call counts of the cycle.


granularity: each sample hit covers 4 byte(s) for 0.00% of 4.16 seconds

                                  called/total       parents 
index  %time    self descendents  called+self    name    	index
                                  called/total       children

                                                     <spontaneous>
[1]     90.1    3.75        0.00                 _mcount [1]

-----------------------------------------------

                0.00        0.40       1/1           _start [3]
[2]      9.7    0.00        0.40       1         main [2]
                0.00        0.40       1/1           procfile [4]
                0.00        0.00       1/1           catopen [32]
                0.00        0.00       1/3           setlocale [24]
                0.00        0.00       1/1           add_pattern [66]
                0.00        0.00       2/2           grep_calloc [70]
                0.00        0.00       1/1           fastcomp [75]
                0.00        0.00       2/2           getopt_internal [105]
                0.00        0.00       2/2           getopt_long [106]
                0.00        0.00       1/1           currentlocale [111]
                0.00        0.00       1/23          getenv [90]
                0.00        0.00       1/1           catclose [110]
                0.00        0.00       1/1           exit [112]

-----------------------------------------------

                                                     <spontaneous>
[3]      9.7    0.00        0.40                 _start [3]
                0.00        0.40       1/1           main [2]

-----------------------------------------------

                0.00        0.40       1/1           main [2]
[4]      9.7    0.00        0.40       1         procfile [4]
                0.04        0.36   20670/20670       grep_fgetln [5]
                0.00        0.00       1/1           grep_open [61]
                0.00        0.00       1/5           grep_malloc [67]
                0.00        0.00       3/62118       free [18]
                0.00        0.00       1/1           grep_close [80]
                0.00        0.00       1/38          strcpy [88]
                0.00        0.00       1/6           _stat [870]

-----------------------------------------------

                0.04        0.36   20670/20670       procfile [4]
[5]      9.6    0.04        0.36   20670         grep_fgetln [5]
                0.06        0.18 19969171/19969171     grep_fgetc [6]
                0.12        0.00 19989841/19989841     grep_feof [8]
                0.00        0.00      14/15          grep_realloc [54]
                0.00        0.00       1/5           grep_malloc [67]
                0.00        0.00       1/1           memchr [114]
                0.00        0.00       1/6           _stat [870]

-----------------------------------------------

                0.06        0.18 19969171/19969171     grep_fgetln [5]
[6]      5.8    0.06        0.18 19969171         grep_fgetc [6]
                0.17        0.01 19969171/19969171     fgetc [7]

-----------------------------------------------

                0.17        0.01 19969171/19969171     grep_fgetc [6]
[7]      4.4    0.17        0.01 19969171         fgetc [7]
                0.00        0.01     153/153         __srget [13]

-----------------------------------------------

                0.12        0.00 19989841/19989841     grep_fgetln [5]
[8]      2.9    0.12        0.00 19989841         grep_feof [8]

-----------------------------------------------

                0.00        0.00       4/163         __part_load_locale [31]
                0.02        0.00     159/163         __sread [11]
[9]      0.4    0.02        0.00     163         _read [9]

-----------------------------------------------

                0.00        0.00       6/159         __fread [28]
                0.00        0.01     153/159         __srget [13]
[10]     0.4    0.00        0.02     159         __srefill [10]
                0.00        0.02     159/159         _sread [12]
                0.00        0.00       2/3           __smakebuf [69]

-----------------------------------------------

                0.00        0.02     159/159         _sread [12]
[11]     0.4    0.00        0.02     159         __sread [11]
                0.02        0.00     159/163         _read [9]

-----------------------------------------------

                0.00        0.02     159/159         __srefill [10]
[12]     0.4    0.00        0.02     159         _sread [12]
                0.00        0.02     159/159         __sread [11]

-----------------------------------------------

                0.00        0.01     153/153         fgetc [7]
[13]     0.4    0.00        0.01     153         __srget [13]
                0.00        0.01     153/159         __srefill [10]

-----------------------------------------------

                                                     <spontaneous>
[14]     0.2    0.00        0.00                 re_search_internal [14]
                0.00        0.00   20715/20879       malloc [17]
                0.00        0.00   20670/20730       memset [20]
                0.00        0.00   20759/62118       free [18]
                0.00        0.00      23/52          calloc [55]

-----------------------------------------------

                0.00        0.00      18/20979       realloc [50]
                0.00        0.00      52/20979       calloc [55]
                0.00        0.00   20909/20979       imalloc [16]
[15]     0.1    0.00        0.00   20979         arena_malloc [15]
                0.00        0.00   20926/20976       arena_bin_malloc_easy [21]
                0.00        0.00   20979/20979       choose_arena [29]
                0.00        0.00   20979/41774       malloc_spin_unlock [33]
                0.00        0.00   20979/41774       malloc_spin_lock [39]
                0.00        0.00      52/20730       memset [20]
                0.00        0.00      50/50          arena_bin_malloc_hard [60]
                0.00        0.00       3/53          arena_run_alloc [86]

-----------------------------------------------

                0.00        0.00      30/20909       realloc [50]
                0.00        0.00   20879/20909       malloc [17]
[16]     0.1    0.00        0.00   20909         imalloc [16]
                0.00        0.00   20909/20979       arena_malloc [15]

-----------------------------------------------

                0.00        0.00       1/20879       regcomp [77]
                0.00        0.00       1/20879       catopen [32]
                0.00        0.00       2/20879       _Read_RuneMagi [38]
                0.00        0.00       3/20879       __collate_load_tables [30]
                0.00        0.00       3/20879       __smakebuf [69]
                0.00        0.00       4/20879       create_token_tree [68]
                0.00        0.00       4/20879       re_acquire_state_context [57]
                0.00        0.00       4/20879       strdup [56]
                0.00        0.00       4/20879       __part_load_locale [31]
                0.00        0.00       5/20879       grep_malloc [67]
                0.00        0.00       6/20879       re_compile_internal [34]
                0.00        0.00      23/20879       re_node_set_init_1 [59]
                0.00        0.00      31/20879       re_node_set_init_copy [49]
                0.00        0.00      73/20879       re_node_set_alloc [53]
                0.00        0.00   20715/20879       re_search_internal [14]
[17]     0.1    0.00        0.00   20879         malloc [17]
                0.00        0.00   20879/20909       imalloc [16]
                0.00        0.00   20879/20961       malloc_init [81]

-----------------------------------------------

                0.00        0.00       1/62118       fastcomp [75]
                0.00        0.00       1/62118       _Read_RuneMagi [38]
                0.00        0.00       2/62118       re_compile_internal [34]
                0.00        0.00       2/62118       catopen [32]
                0.00        0.00       3/62118       procfile [4]
                0.00        0.00       3/62118       fclose [78]
                0.00        0.00       5/62118       free_workarea_compile [76]
                0.00        0.00   20759/62118       re_search_internal [14]
                0.00        0.00   41342/62118       re_string_destruct [22]
[18]     0.0    0.00        0.00   62118         free [18]
                0.00        0.00   20777/20795       idalloc [19]

-----------------------------------------------

                0.00        0.00      18/20795       realloc [50]
                0.00        0.00   20777/20795       free [18]
[19]     0.0    0.00        0.00   20795         idalloc [19]
                0.00        0.00   20795/20795       arena_dalloc [25]

-----------------------------------------------

                0.00        0.00       1/20730       re_compile_fastmap [79]
                0.00        0.00       1/20730       snprintf [62]
                0.00        0.00       1/20730       _fseeko [72]
                0.00        0.00       2/20730       re_compile_internal [34]
                0.00        0.00       3/20730       __sfp [74]
                0.00        0.00      52/20730       arena_malloc [15]
                0.00        0.00   20670/20730       re_search_internal [14]
[20]     0.0    0.00        0.00   20730         memset [20]

-----------------------------------------------

                0.00        0.00      50/20976       arena_bin_malloc_hard [60]
                0.00        0.00   20926/20976       arena_malloc [15]
[21]     0.0    0.00        0.00   20976         arena_bin_malloc_easy [21]
                0.00        0.00   20976/20976       arena_run_rc_incr [26]

-----------------------------------------------

                                                     <spontaneous>
[22]     0.0    0.00        0.00                 re_string_destruct [22]
                0.00        0.00   41342/62118       free [18]

-----------------------------------------------

                0.00        0.00       6/6           setlocale [24]
[23]     0.0    0.00        0.00       6         loadlocale [23]
                0.00        0.00       1/1           __collate_load_tables [30]
                0.00        0.00       1/1           __wrap_setrunelocale [37]
                0.00        0.00       1/1           __messages_load_locale [43]
                0.00        0.00       1/1           __time_load_locale [46]
                0.00        0.00       1/1           __numeric_load_locale [45]
                0.00        0.00       1/1           __monetary_load_locale [44]
                0.00        0.00      24/45          __error_unthreaded [863]
                0.00        0.00       6/14          strchr [93]
                0.00        0.00       6/6           __detect_path_locale [868]
                0.00        0.00       6/12          strcmp [94]
                0.00        0.00       6/38          strcpy [88]

-----------------------------------------------

                0.00        0.00       1/3           main [2]
                0.00        0.00       1/3           nl_langinfo [35]
                0.00        0.00       1/3           catopen [32]
[24]     0.0    0.00        0.00       3         setlocale [24]
                0.00        0.00       6/6           loadlocale [23]
                0.00        0.00      18/38          strcpy [88]
                0.00        0.00       6/6           __get_locale_env [869]

-----------------------------------------------

                0.00        0.00   20795/20795       idalloc [19]
[25]     0.0    0.00        0.00   20795         arena_dalloc [25]
                0.00        0.00   20795/41774       malloc_spin_unlock [33]
                0.00        0.00   20795/41774       malloc_spin_lock [39]
                0.00        0.00      36/36          arena_run_dalloc [89]
                0.00        0.00       3/5           arena_purge [101]
                0.00        0.00       2/2           arena_chunk_tree_dirty_insert [104]

-----------------------------------------------

                0.00        0.00   20976/20976       arena_bin_malloc_easy [21]
[26]     0.0    0.00        0.00   20976         arena_run_rc_incr [26]

-----------------------------------------------

                0.00        0.00       1/6           _Read_RuneMagi [38]
                0.00        0.00       5/6           __collate_load_tables [30]
[27]     0.0    0.00        0.00       6         fread [27]
                0.00        0.00       6/6           __fread [28]

-----------------------------------------------

                0.00        0.00       6/6           fread [27]
[28]     0.0    0.00        0.00       6         __fread [28]
                0.00        0.00       6/159         __srefill [10]
                0.00        0.00      12/90          memcpy [41]

-----------------------------------------------

                0.00        0.00   20979/20979       arena_malloc [15]
[29]     0.0    0.00        0.00   20979         choose_arena [29]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[30]     0.0    0.00        0.00       1         __collate_load_tables [30]
                0.00        0.00       5/6           fread [27]
                0.00        0.00       3/20879       malloc [17]
                0.00        0.00       1/3           fopen [73]
                0.00        0.00       1/3           fclose [78]
                0.00        0.00       2/38          strcpy [88]
                0.00        0.00       1/12          strcmp [94]
                0.00        0.00       1/10          strcat [95]

-----------------------------------------------

                0.00        0.00       1/4           __messages_load_locale [43]
                0.00        0.00       1/4           __time_load_locale [46]
                0.00        0.00       1/4           __numeric_load_locale [45]
                0.00        0.00       1/4           __monetary_load_locale [44]
[31]     0.0    0.00        0.00       4         __part_load_locale [31]
                0.00        0.00       4/163         _read [9]
                0.00        0.00       4/20879       malloc [17]
                0.00        0.00       8/38          strcpy [88]
                0.00        0.00       8/10          strcat [95]
                0.00        0.00       4/7           open [99]
                0.00        0.00       4/8           _fstat [866]
                0.00        0.00       4/7           __sys_close [867]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[32]     0.0    0.00        0.00       1         catopen [32]
                0.00        0.00       1/3           setlocale [24]
                0.00        0.00       4/4           strdup [56]
                0.00        0.00       1/20879       malloc [17]
                0.00        0.00       2/62118       free [18]
                0.00        0.00       8/10          strlcpy [96]
                0.00        0.00       6/14          strchr [93]
                0.00        0.00       5/5           strsep [103]
                0.00        0.00       4/6           _stat [870]
                0.00        0.00       2/45          __error_unthreaded [863]
                0.00        0.00       1/23          getenv [90]

-----------------------------------------------

                0.00        0.00   20795/41774       arena_dalloc [25]
                0.00        0.00   20979/41774       arena_malloc [15]
[33]     0.0    0.00        0.00   41774         malloc_spin_unlock [33]

-----------------------------------------------

                                                     <spontaneous>
[34]     0.0    0.00        0.00                 re_compile_internal [34]
                0.00        0.00       1/1           nl_langinfo [35]
                0.00        0.00       6/20879       malloc [17]
                0.00        0.00       1/48          realloc [50]
                0.00        0.00       1/52          calloc [55]
                0.00        0.00       2/20730       memset [20]
                0.00        0.00       2/62118       free [18]
                0.00        0.00       1/1           strcasecmp [116]

-----------------------------------------------

                0.00        0.00       1/1           re_compile_internal [34]
[35]     0.0    0.00        0.00       1         nl_langinfo [35]
                0.00        0.00       1/3           setlocale [24]
                0.00        0.00       1/14          strchr [93]

-----------------------------------------------

                                                     <spontaneous>
[36]     0.0    0.00        0.00                 regexec [36]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[37]     0.0    0.00        0.00       1         __wrap_setrunelocale [37]
                0.00        0.00       1/1           _Read_RuneMagi [38]
                0.00        0.00       1/3           fopen [73]
                0.00        0.00       1/3           fclose [78]
                0.00        0.00       2/38          strcpy [88]
                0.00        0.00       1/10          strcat [95]
                0.00        0.00       1/1           _UTF8_init [880]

-----------------------------------------------

                0.00        0.00       1/1           __wrap_setrunelocale [37]
[38]     0.0    0.00        0.00       1         _Read_RuneMagi [38]
                0.00        0.00       1/6           fread [27]
                0.00        0.00       1/90          memcpy [41]
                0.00        0.00       2/20879       malloc [17]
                0.00        0.00       1/1           rewind [71]
                0.00        0.00       1/62118       free [18]
                0.00        0.00       2/45          __error_unthreaded [863]
                0.00        0.00       1/8           _fstat [866]

-----------------------------------------------

                0.00        0.00   20795/41774       arena_dalloc [25]
                0.00        0.00   20979/41774       arena_malloc [15]
[39]     0.0    0.00        0.00   41774         malloc_spin_lock [39]

-----------------------------------------------

                                                     <spontaneous>
[40]     0.0    0.00        0.00                 re_string_realloc_buffers [40]
                0.00        0.00       1/48          realloc [50]

-----------------------------------------------

                0.00        0.00       1/90          _Read_RuneMagi [38]
                0.00        0.00       1/90          __sfvwrite [64]
                0.00        0.00       4/90          strdup [56]
                0.00        0.00      12/90          __fread [28]
                0.00        0.00      18/90          realloc [50]
                0.00        0.00      23/90          re_node_set_merge [51]
                0.00        0.00      31/90          re_node_set_init_copy [49]
[41]     0.0    0.00        0.00      90         memcpy [41]

-----------------------------------------------

                                                     <spontaneous>
[42]     0.0    0.00        0.00                 re_string_construct_common [42]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[43]     0.0    0.00        0.00       1         __messages_load_locale [43]
                0.00        0.00       1/4           __part_load_locale [31]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[44]     0.0    0.00        0.00       1         __monetary_load_locale [44]
                0.00        0.00       1/4           __part_load_locale [31]
                0.00        0.00       8/8           cnv [97]
                0.00        0.00       1/2           __fix_locale_grouping_str [874]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[45]     0.0    0.00        0.00       1         __numeric_load_locale [45]
                0.00        0.00       1/4           __part_load_locale [31]
                0.00        0.00       1/2           __fix_locale_grouping_str [874]

-----------------------------------------------

                0.00        0.00       1/1           loadlocale [23]
[46]     0.0    0.00        0.00       1         __time_load_locale [46]
                0.00        0.00       1/4           __part_load_locale [31]

-----------------------------------------------

                                                     <spontaneous>
[47]     0.0    0.00        0.00                 arenas_extend [47]

-----------------------------------------------

                                                     <spontaneous>
[48]     0.0    0.00        0.00                 _malloc_postfork [48]

-----------------------------------------------

                                                     <spontaneous>
[49]     0.0    0.00        0.00                 re_node_set_init_copy [49]
                0.00        0.00      31/90          memcpy [41]
                0.00        0.00      31/20879       malloc [17]

-----------------------------------------------

                0.00        0.00       1/48          re_string_realloc_buffers [40]
                0.00        0.00       1/48          re_compile_internal [34]
                0.00        0.00       5/48          re_dfa_add_node [58]
                0.00        0.00      15/48          grep_realloc [54]
                0.00        0.00      26/48          register_state [52]
[50]     0.0    0.00        0.00      48         realloc [50]
                0.00        0.00      18/90          memcpy [41]
                0.00        0.00      30/20909       imalloc [16]
                0.00        0.00      18/20979       arena_malloc [15]
                0.00        0.00      18/20795       idalloc [19]
                0.00        0.00      30/20961       malloc_init [81]
                0.00        0.00      18/18          isalloc [92]

-----------------------------------------------

                                                     <spontaneous>
[51]     0.0    0.00        0.00                 re_node_set_merge [51]
                0.00        0.00      23/90          memcpy [41]

-----------------------------------------------

                                                     <spontaneous>
[52]     0.0    0.00        0.00                 register_state [52]
                0.00        0.00      26/48          realloc [50]

-----------------------------------------------

                                                     <spontaneous>
[53]     0.0    0.00        0.00                 re_node_set_alloc [53]
                0.00        0.00      73/20879       malloc [17]

-----------------------------------------------

                0.00        0.00       1/15          add_pattern [66]
                0.00        0.00      14/15          grep_fgetln [5]
[54]     0.0    0.00        0.00      15         grep_realloc [54]
                0.00        0.00      15/48          realloc [50]

-----------------------------------------------

                0.00        0.00       1/52          re_compile_internal [34]
                0.00        0.00       2/52          grep_calloc [70]
                0.00        0.00      23/52          re_search_internal [14]
                0.00        0.00      26/52          re_acquire_state_context [57]
[55]     0.0    0.00        0.00      52         calloc [55]
                0.00        0.00      52/20979       arena_malloc [15]
                0.00        0.00      52/20961       malloc_init [81]

-----------------------------------------------

                0.00        0.00       4/4           catopen [32]
[56]     0.0    0.00        0.00       4         strdup [56]
                0.00        0.00       4/90          memcpy [41]
                0.00        0.00       4/20879       malloc [17]

-----------------------------------------------

                                                     <spontaneous>
[57]     0.0    0.00        0.00                 re_acquire_state_context [57]
                0.00        0.00      26/52          calloc [55]
                0.00        0.00       4/20879       malloc [17]

-----------------------------------------------

                                                     <spontaneous>
[58]     0.0    0.00        0.00                 re_dfa_add_node [58]
                0.00        0.00       5/48          realloc [50]

-----------------------------------------------

                                                     <spontaneous>
[59]     0.0    0.00        0.00                 re_node_set_init_1 [59]
                0.00        0.00      23/20879       malloc [17]

-----------------------------------------------

                0.00        0.00      50/50          arena_malloc [15]
[60]     0.0    0.00        0.00      50         arena_bin_malloc_hard [60]
                0.00        0.00      50/20976       arena_bin_malloc_easy [21]
                0.00        0.00      50/53          arena_run_alloc [86]

-----------------------------------------------

                0.00        0.00       1/1           procfile [4]
[61]     0.0    0.00        0.00       1         grep_open [61]
                0.00        0.00       1/1           snprintf [62]
                0.00        0.00       1/5           grep_malloc [67]
                0.00        0.00       1/3           fopen [73]

-----------------------------------------------

                0.00        0.00       1/1           grep_open [61]
[62]     0.0    0.00        0.00       1         snprintf [62]
                0.00        0.00       1/1           __vfprintf [65]
                0.00        0.00       1/20730       memset [20]

-----------------------------------------------

                0.00        0.00       2/2           __vfprintf [65]
[63]     0.0    0.00        0.00       2         __sprint [63]
                0.00        0.00       1/1           __sfvwrite [64]

-----------------------------------------------

                0.00        0.00       1/1           __sprint [63]
[64]     0.0    0.00        0.00       1         __sfvwrite [64]
                0.00        0.00       1/90          memcpy [41]

-----------------------------------------------

                0.00        0.00       1/1           snprintf [62]
[65]     0.0    0.00        0.00       1         __vfprintf [65]
                0.00        0.00       2/2           __sprint [63]
                0.00        0.00       1/1           localeconv [113]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[66]     0.0    0.00        0.00       1         add_pattern [66]
                0.00        0.00       1/15          grep_realloc [54]
                0.00        0.00       1/5           grep_malloc [67]
                0.00        0.00       1/10          strlcpy [96]

-----------------------------------------------

                0.00        0.00       1/5           fastcomp [75]
                0.00        0.00       1/5           grep_open [61]
                0.00        0.00       1/5           grep_fgetln [5]
                0.00        0.00       1/5           add_pattern [66]
                0.00        0.00       1/5           procfile [4]
[67]     0.0    0.00        0.00       5         grep_malloc [67]
                0.00        0.00       5/20879       malloc [17]

-----------------------------------------------

                                                     <spontaneous>
[68]     0.0    0.00        0.00                 create_token_tree [68]
                0.00        0.00       4/20879       malloc [17]

-----------------------------------------------

                0.00        0.00       1/3           _fseeko [72]
                0.00        0.00       2/3           __srefill [10]
[69]     0.0    0.00        0.00       3         __smakebuf [69]
                0.00        0.00       3/20879       malloc [17]
                0.00        0.00       3/3           __swhatbuf [873]

-----------------------------------------------

                0.00        0.00       2/2           main [2]
[70]     0.0    0.00        0.00       2         grep_calloc [70]
                0.00        0.00       2/52          calloc [55]

-----------------------------------------------

                0.00        0.00       1/1           _Read_RuneMagi [38]
[71]     0.0    0.00        0.00       1         rewind [71]
                0.00        0.00       1/1           _fseeko [72]
                0.00        0.00       2/45          __error_unthreaded [863]

-----------------------------------------------

                0.00        0.00       1/1           rewind [71]
[72]     0.0    0.00        0.00       1         _fseeko [72]
                0.00        0.00       1/3           __smakebuf [69]
                0.00        0.00       1/20730       memset [20]
                0.00        0.00       1/2           _sseek [879]
                0.00        0.00       1/1           _ftello [888]

-----------------------------------------------

                0.00        0.00       1/3           grep_open [61]
                0.00        0.00       1/3           __wrap_setrunelocale [37]
                0.00        0.00       1/3           __collate_load_tables [30]
[73]     0.0    0.00        0.00       3         fopen [73]
                0.00        0.00       3/3           __sfp [74]
                0.00        0.00       3/3           __sflags [872]
                0.00        0.00       3/7           open [99]

-----------------------------------------------

                0.00        0.00       3/3           fopen [73]
[74]     0.0    0.00        0.00       3         __sfp [74]
                0.00        0.00       3/20730       memset [20]
                0.00        0.00       1/1           __sinit [887]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[75]     0.0    0.00        0.00       1         fastcomp [75]
                0.00        0.00       1/5           grep_malloc [67]
                0.00        0.00       1/62118       free [18]
                0.00        0.00       1/10          strlcpy [96]

-----------------------------------------------

                                                     <spontaneous>
[76]     0.0    0.00        0.00                 free_workarea_compile [76]
                0.00        0.00       5/62118       free [18]

-----------------------------------------------

                                                     <spontaneous>
[77]     0.0    0.00        0.00                 regcomp [77]
                0.00        0.00       1/20879       malloc [17]

-----------------------------------------------

                0.00        0.00       1/3           grep_close [80]
                0.00        0.00       1/3           __wrap_setrunelocale [37]
                0.00        0.00       1/3           __collate_load_tables [30]
[78]     0.0    0.00        0.00       3         fclose [78]
                0.00        0.00       3/62118       free [18]
                0.00        0.00       3/7           __sys_close [867]
                0.00        0.00       3/3           __sclose [871]

-----------------------------------------------

                                                     <spontaneous>
[79]     0.0    0.00        0.00                 re_compile_fastmap [79]
                0.00        0.00       1/20730       memset [20]

-----------------------------------------------

                0.00        0.00       1/1           procfile [4]
[80]     0.0    0.00        0.00       1         grep_close [80]
                0.00        0.00       1/3           fclose [78]

-----------------------------------------------

                0.00        0.00      30/20961       realloc [50]
                0.00        0.00      52/20961       calloc [55]
                0.00        0.00   20879/20961       malloc [17]
[81]     0.0    0.00        0.00   20961         malloc_init [81]

-----------------------------------------------

                0.00        0.00     870/870         getenv [90]
[82]     0.0    0.00        0.00     870         strncmp [82]

-----------------------------------------------

                0.00        0.00     101/358         arena_avail_tree_insert [84]
                0.00        0.00     102/358         arena_run_alloc [86]
                0.00        0.00     155/358         arena_avail_tree_remove [85]
[83]     0.0    0.00        0.00     358         arena_avail_comp [83]

-----------------------------------------------

                0.00        0.00      36/86          arena_run_dalloc [89]
                0.00        0.00      50/86          arena_run_split [87]
[84]     0.0    0.00        0.00      86         arena_avail_tree_insert [84]
                0.00        0.00     101/358         arena_avail_comp [83]

-----------------------------------------------

                0.00        0.00      31/84          arena_run_dalloc [89]
                0.00        0.00      53/84          arena_run_split [87]
[85]     0.0    0.00        0.00      84         arena_avail_tree_remove [85]
                0.00        0.00     155/358         arena_avail_comp [83]

-----------------------------------------------

                0.00        0.00       3/53          arena_malloc [15]
                0.00        0.00      50/53          arena_bin_malloc_hard [60]
[86]     0.0    0.00        0.00      53         arena_run_alloc [86]
                0.00        0.00     102/358         arena_avail_comp [83]
                0.00        0.00      53/53          arena_run_split [87]

-----------------------------------------------

                0.00        0.00      53/53          arena_run_alloc [86]
[87]     0.0    0.00        0.00      53         arena_run_split [87]
                0.00        0.00      53/84          arena_avail_tree_remove [85]
                0.00        0.00      50/86          arena_avail_tree_insert [84]

-----------------------------------------------

                0.00        0.00       1/38          procfile [4]
                0.00        0.00       1/38          currentlocale [111]
                0.00        0.00       2/38          __wrap_setrunelocale [37]
                0.00        0.00       2/38          __collate_load_tables [30]
                0.00        0.00       6/38          loadlocale [23]
                0.00        0.00       8/38          __part_load_locale [31]
                0.00        0.00      18/38          setlocale [24]
[88]     0.0    0.00        0.00      38         strcpy [88]

-----------------------------------------------

                0.00        0.00      36/36          arena_dalloc [25]
[89]     0.0    0.00        0.00      36         arena_run_dalloc [89]
                0.00        0.00      36/86          arena_avail_tree_insert [84]
                0.00        0.00      31/84          arena_avail_tree_remove [85]
                0.00        0.00       2/5           arena_purge [101]

-----------------------------------------------

                0.00        0.00       1/23          main [2]
                0.00        0.00       1/23          catopen [32]
                0.00        0.00       1/23          __detect_path_locale [868]
                0.00        0.00       2/23          getopt_internal [105]
                0.00        0.00      18/23          __get_locale_env [869]
[90]     0.0    0.00        0.00      23         getenv [90]
                0.00        0.00     870/870         strncmp [82]

-----------------------------------------------

                0.00        0.00      23/23          build_wcs_buffer [192]
[91]     0.0    0.00        0.00      23         mbrtowc [91]

-----------------------------------------------

                0.00        0.00      18/18          realloc [50]
[92]     0.0    0.00        0.00      18         isalloc [92]

-----------------------------------------------

                0.00        0.00       1/14          getopt_internal [105]
                0.00        0.00       1/14          nl_langinfo [35]
                0.00        0.00       6/14          catopen [32]
                0.00        0.00       6/14          loadlocale [23]
[93]     0.0    0.00        0.00      14         strchr [93]

-----------------------------------------------

                0.00        0.00       1/12          __collate_load_tables [30]
                0.00        0.00       5/12          currentlocale [111]
                0.00        0.00       6/12          loadlocale [23]
[94]     0.0    0.00        0.00      12         strcmp [94]

-----------------------------------------------

                0.00        0.00       1/10          __wrap_setrunelocale [37]
                0.00        0.00       1/10          __collate_load_tables [30]
                0.00        0.00       8/10          __part_load_locale [31]
[95]     0.0    0.00        0.00      10         strcat [95]

-----------------------------------------------

                0.00        0.00       1/10          fastcomp [75]
                0.00        0.00       1/10          add_pattern [66]
                0.00        0.00       8/10          catopen [32]
[96]     0.0    0.00        0.00      10         strlcpy [96]

-----------------------------------------------

                0.00        0.00       8/8           __monetary_load_locale [44]
[97]     0.0    0.00        0.00       8         cnv [97]
                0.00        0.00       8/8           strtol [98]

-----------------------------------------------

                0.00        0.00       8/8           cnv [97]
[98]     0.0    0.00        0.00       8         strtol [98]

-----------------------------------------------

                0.00        0.00       3/7           fopen [73]
                0.00        0.00       4/7           __part_load_locale [31]
[99]     0.0    0.00        0.00       7         open [99]

-----------------------------------------------

                                       5             arena_chunk_tree_dirty_iter_recurse [100]
                0.00        0.00       5/5           arena_purge [101]
[100]    0.0    0.00        0.00       5+5       arena_chunk_tree_dirty_iter_recurse [100]
                0.00        0.00       5/5           chunks_dirty_iter_cb [102]
                                       5             arena_chunk_tree_dirty_iter_recurse [100]

-----------------------------------------------

                0.00        0.00       2/5           arena_run_dalloc [89]
                0.00        0.00       3/5           arena_dalloc [25]
[101]    0.0    0.00        0.00       5         arena_purge [101]
                0.00        0.00       9/9           _madvise [865]
                0.00        0.00       5/5           arena_chunk_tree_dirty_iter_recurse [100]
                0.00        0.00       1/1           arena_chunk_tree_dirty_remove [109]

-----------------------------------------------

                0.00        0.00       5/5           arena_chunk_tree_dirty_iter_recurse [100]
[102]    0.0    0.00        0.00       5         chunks_dirty_iter_cb [102]

-----------------------------------------------

                0.00        0.00       5/5           catopen [32]
[103]    0.0    0.00        0.00       5         strsep [103]

-----------------------------------------------

                0.00        0.00       2/2           arena_dalloc [25]
[104]    0.0    0.00        0.00       2         arena_chunk_tree_dirty_insert [104]

-----------------------------------------------

                0.00        0.00       2/2           main [2]
[105]    0.0    0.00        0.00       2         getopt_internal [105]
                0.00        0.00       2/23          getenv [90]
                0.00        0.00       1/14          strchr [93]

-----------------------------------------------

                0.00        0.00       2/2           main [2]
[106]    0.0    0.00        0.00       2         getopt_long [106]

-----------------------------------------------

                0.00        0.00       2/2           _sseek [879]
[107]    0.0    0.00        0.00       2         lseek [107]
                0.00        0.00       2/2           __getosreldate [875]

-----------------------------------------------

                0.00        0.00       1/1           arena_chunk_tree_dirty_remove [109]
[108]    0.0    0.00        0.00       1         arena_chunk_comp [108]

-----------------------------------------------

                0.00        0.00       1/1           arena_purge [101]
[109]    0.0    0.00        0.00       1         arena_chunk_tree_dirty_remove [109]
                0.00        0.00       1/1           arena_chunk_comp [108]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[110]    0.0    0.00        0.00       1         catclose [110]
                0.00        0.00       1/45          __error_unthreaded [863]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[111]    0.0    0.00        0.00       1         currentlocale [111]
                0.00        0.00       5/12          strcmp [94]
                0.00        0.00       1/38          strcpy [88]

-----------------------------------------------

                0.00        0.00       1/1           main [2]
[112]    0.0    0.00        0.00       1         exit [112]
                0.00        0.00       1/1           __cxa_finalize [883]

-----------------------------------------------

                0.00        0.00       1/1           __vfprintf [65]
[113]    0.0    0.00        0.00       1         localeconv [113]
                0.00        0.00       1/1           __get_current_numeric_locale [885]
                0.00        0.00       1/1           __get_current_monetary_locale [884]

-----------------------------------------------

                0.00        0.00       1/1           grep_fgetln [5]
[114]    0.0    0.00        0.00       1         memchr [114]

-----------------------------------------------

                0.00        0.00       1/1           _mcleanup (889)
[115]    0.0    0.00        0.00       1         moncontrol [115]
                0.00        0.00       1/1           _profil [890]

-----------------------------------------------

                0.00        0.00       1/1           re_compile_internal [34]
[116]    0.0    0.00        0.00       1         strcasecmp [116]

-----------------------------------------------

                0.00        0.00       1/1           _mcleanup (889)
[117]    0.0    0.00        0.00       1         sysctl [117]

-----------------------------------------------

                0.00        0.00       1/45          catclose [110]
                0.00        0.00       2/45          catopen [32]
                0.00        0.00       2/45          _Read_RuneMagi [38]
                0.00        0.00       2/45          rewind [71]
                0.00        0.00       4/45          sbrk [727]
                0.00        0.00      10/45          _sseek [879]
                0.00        0.00      24/45          loadlocale [23]
[863]    0.0    0.00        0.00      45         __error_unthreaded [863]

-----------------------------------------------

                0.00        0.00      23/23          build_wcs_buffer [192]
[864]    0.0    0.00        0.00      23         _UTF8_mbrtowc [864]

-----------------------------------------------

                0.00        0.00       9/9           arena_purge [101]
[865]    0.0    0.00        0.00       9         _madvise [865]

-----------------------------------------------

                0.00        0.00       1/8           _Read_RuneMagi [38]
                0.00        0.00       3/8           __swhatbuf [873]
                0.00        0.00       4/8           __part_load_locale [31]
[866]    0.0    0.00        0.00       8         _fstat [866]

-----------------------------------------------

                0.00        0.00       3/7           fclose [78]
                0.00        0.00       4/7           __part_load_locale [31]
[867]    0.0    0.00        0.00       7         __sys_close [867]

-----------------------------------------------

                0.00        0.00       6/6           loadlocale [23]
[868]    0.0    0.00        0.00       6         __detect_path_locale [868]
                0.00        0.00       1/23          getenv [90]

-----------------------------------------------

                0.00        0.00       6/6           setlocale [24]
[869]    0.0    0.00        0.00       6         __get_locale_env [869]
                0.00        0.00      18/23          getenv [90]

-----------------------------------------------

                0.00        0.00       1/6           grep_fgetln [5]
                0.00        0.00       1/6           procfile [4]
                0.00        0.00       4/6           catopen [32]
[870]    0.0    0.00        0.00       6         _stat [870]

-----------------------------------------------

                0.00        0.00       3/3           fclose [78]
[871]    0.0    0.00        0.00       3         __sclose [871]

-----------------------------------------------

                0.00        0.00       3/3           fopen [73]
[872]    0.0    0.00        0.00       3         __sflags [872]

-----------------------------------------------

                0.00        0.00       3/3           __smakebuf [69]
[873]    0.0    0.00        0.00       3         __swhatbuf [873]
                0.00        0.00       3/8           _fstat [866]

-----------------------------------------------

                0.00        0.00       1/2           __numeric_load_locale [45]
                0.00        0.00       1/2           __monetary_load_locale [44]
[874]    0.0    0.00        0.00       2         __fix_locale_grouping_str [874]

-----------------------------------------------

                0.00        0.00       2/2           lseek [107]
[875]    0.0    0.00        0.00       2         __getosreldate [875]

-----------------------------------------------

                0.00        0.00       2/2           _sseek [879]
[876]    0.0    0.00        0.00       2         __sseek [876]

-----------------------------------------------

                0.00        0.00       1/2           __guard_setup [886]
                0.00        0.00       1/2           _mcleanup (889)
[877]    0.0    0.00        0.00       2         __sys___sysctl [877]

-----------------------------------------------

                0.00        0.00       2/2           _sseek [879]
[878]    0.0    0.00        0.00       2         _lseek [878]

-----------------------------------------------

                0.00        0.00       1/2           _fseeko [72]
                0.00        0.00       1/2           _ftello [888]
[879]    0.0    0.00        0.00       2         _sseek [879]
                0.00        0.00      10/45          __error_unthreaded [863]
                0.00        0.00       2/2           _lseek [878]
                0.00        0.00       2/2           lseek [107]
                0.00        0.00       2/2           __sseek [876]

-----------------------------------------------

                0.00        0.00       1/1           __wrap_setrunelocale [37]
[880]    0.0    0.00        0.00       1         _UTF8_init [880]

-----------------------------------------------

                0.00        0.00       1/1           __do_global_dtors_aux [946]
[881]    0.0    0.00        0.00       1         __clean_env [881]

-----------------------------------------------

                0.00        0.00       1/1           __do_global_dtors_aux [946]
[882]    0.0    0.00        0.00       1         __clean_env_destructor [882]

-----------------------------------------------

                0.00        0.00       1/1           exit [112]
[883]    0.0    0.00        0.00       1         __cxa_finalize [883]
                0.00        0.00       1/1           _mcleanup (889)

-----------------------------------------------

                0.00        0.00       1/1           localeconv [113]
[884]    0.0    0.00        0.00       1         __get_current_monetary_locale [884]

-----------------------------------------------

                0.00        0.00       1/1           localeconv [113]
[885]    0.0    0.00        0.00       1         __get_current_numeric_locale [885]

-----------------------------------------------

                0.00        0.00       1/1           __do_global_ctors_aux [945]
[886]    0.0    0.00        0.00       1         __guard_setup [886]
                0.00        0.00       1/2           __sys___sysctl [877]

-----------------------------------------------

                0.00        0.00       1/1           __sfp [74]
[887]    0.0    0.00        0.00       1         __sinit [887]

-----------------------------------------------

                0.00        0.00       1/1           _fseeko [72]
[888]    0.0    0.00        0.00       1         _ftello [888]
                0.00        0.00       1/2           _sseek [879]

-----------------------------------------------

                0.00        0.00       1/1           moncontrol [115]
[890]    0.0    0.00        0.00       1         _profil [890]

-----------------------------------------------





flat profile:

 %         the percentage of the total running time of the
time       program used by this function.

cumulative a running sum of the number of seconds accounted
 seconds   for by this function and those listed above it.

 self      the number of seconds accounted for by this
seconds    function alone.  This is the major sort for this
           listing.

calls      the number of times this function was invoked, if
           this function is profiled, else blank.
 
 self      the average number of milliseconds spent in this
ms/call    function per call, if this function is profiled,
	   else blank.

 total     the average number of milliseconds spent in this
ms/call    function and its descendents per call, if this 
	   function is profiled, else blank.

name       the name of the function.  This is the minor sort
           for this listing. The index shows the location of
	   the function in the gprof listing. If the index is
	   in parenthesis it shows where it would appear in
	   the gprof listing if it were to be printed.


granularity: each sample hit covers 4 byte(s) for 0.00% of 4.46 seconds

  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 84.0       3.75     3.75        0  100.00%           _mcount [1]
  6.8       4.05     0.30        0  100.00%           .mcount (118)
  3.8       4.22     0.17 19969171     0.00     0.00  fgetc [7]
  2.7       4.34     0.12 19989841     0.00     0.00  grep_feof [8]
  1.3       4.40     0.06 19969171     0.00     0.00  grep_fgetc [6]
  0.8       4.44     0.04    20670     0.00     0.02  grep_fgetln [5]
  0.4       4.45     0.02      163     0.10     0.10  _read [9]
  0.0       4.46     0.00        0   32.01%           re_search_internal [14]
  0.0       4.46     0.00    20730     0.00     0.00  memset [20]
  0.0       4.46     0.00    20979     0.00     0.00  arena_malloc [15]
  0.0       4.46     0.00    20795     0.00     0.00  arena_dalloc [25]
  0.0       4.46     0.00    20976     0.00     0.00  arena_bin_malloc_easy [21]
  0.0       4.46     0.00    20976     0.00     0.00  arena_run_rc_incr [26]
  0.0       4.46     0.00    20979     0.00     0.00  choose_arena [29]
  0.0       4.46     0.00    62118     0.00     0.00  free [18]
  0.0       4.46     0.00    41774     0.00     0.00  malloc_spin_unlock [33]
  0.0       4.46     0.00        1     0.37   401.83  procfile [4]
  0.0       4.46     0.00    20795     0.00     0.00  idalloc [19]
  0.0       4.46     0.00        0  100.00%           regexec [36]
  0.0       4.46     0.00    41774     0.00     0.00  malloc_spin_lock [39]
  0.0       4.46     0.00       90     0.00     0.00  memcpy [41]
  0.0       4.46     0.00        1     0.12     0.22  _Read_RuneMagi [38]
  0.0       4.46     0.00        0  100.00%           re_string_construct_common [42]
  0.0       4.46     0.00        0   99.45%           re_string_realloc_buffers [40]
  0.0       4.46     0.00        0  100.00%           _malloc_postfork [48]
  0.0       4.46     0.00        0  100.00%           arenas_extend [47]
  0.0       4.46     0.00    20961     0.00     0.00  malloc_init [81]
  0.0       4.46     0.00    20909     0.00     0.00  imalloc [16]
  0.0       4.46     0.00    20879     0.00     0.00  malloc [17]
  0.0       4.46     0.00      870     0.00     0.00  strncmp [82]
  0.0       4.46     0.00      358     0.00     0.00  arena_avail_comp [83]
  0.0       4.46     0.00      159     0.00     0.10  __sread [11]
  0.0       4.46     0.00      159     0.00     0.10  __srefill [10]
  0.0       4.46     0.00      159     0.00     0.10  _sread [12]
  0.0       4.46     0.00      153     0.00     0.10  __srget [13]
  0.0       4.46     0.00       86     0.00     0.00  arena_avail_tree_insert [84]
  0.0       4.46     0.00       84     0.00     0.00  arena_avail_tree_remove [85]
  0.0       4.46     0.00       53     0.00     0.00  arena_run_alloc [86]
  0.0       4.46     0.00       53     0.00     0.00  arena_run_split [87]
  0.0       4.46     0.00       52     0.00     0.00  calloc [55]
  0.0       4.46     0.00       50     0.00     0.00  arena_bin_malloc_hard [60]
  0.0       4.46     0.00       48     0.00     0.00  realloc [50]
  0.0       4.46     0.00       45     0.00     0.00  __error_unthreaded [863]
  0.0       4.46     0.00       38     0.00     0.00  strcpy [88]
  0.0       4.46     0.00       36     0.00     0.00  arena_run_dalloc [89]
  0.0       4.46     0.00       23     0.00     0.00  _UTF8_mbrtowc [864]
  0.0       4.46     0.00       23     0.00     0.00  getenv [90]
  0.0       4.46     0.00       23     0.00     0.00  mbrtowc [91]
  0.0       4.46     0.00       18     0.00     0.00  isalloc [92]
  0.0       4.46     0.00       15     0.00     0.00  grep_realloc [54]
  0.0       4.46     0.00       14     0.00     0.00  strchr [93]
  0.0       4.46     0.00       12     0.00     0.00  strcmp [94]
  0.0       4.46     0.00       10     0.00     0.00  strcat [95]
  0.0       4.46     0.00       10     0.00     0.00  strlcpy [96]
  0.0       4.46     0.00        9     0.00     0.00  _madvise [865]
  0.0       4.46     0.00        8     0.00     0.00  _fstat [866]
  0.0       4.46     0.00        8     0.00     0.00  cnv [97]
  0.0       4.46     0.00        8     0.00     0.00  strtol [98]
  0.0       4.46     0.00        7     0.00     0.00  __sys_close [867]
  0.0       4.46     0.00        7     0.00     0.00  open [99]
  0.0       4.46     0.00        6     0.00     0.00  __detect_path_locale [868]
  0.0       4.46     0.00        6     0.00     0.10  __fread [28]
  0.0       4.46     0.00        6     0.00     0.00  __get_locale_env [869]
  0.0       4.46     0.00        6     0.00     0.00  _stat [870]
  0.0       4.46     0.00        6     0.00     0.10  fread [27]
  0.0       4.46     0.00        6     0.00     0.18  loadlocale [23]
  0.0       4.46     0.00        5     0.00     0.00  arena_chunk_tree_dirty_iter_recurse [100]
  0.0       4.46     0.00        5     0.00     0.00  arena_purge [101]
  0.0       4.46     0.00        5     0.00     0.00  chunks_dirty_iter_cb [102]
  0.0       4.46     0.00        5     0.00     0.00  grep_malloc [67]
  0.0       4.46     0.00        5     0.00     0.00  strsep [103]
  0.0       4.46     0.00        4     0.00     0.10  __part_load_locale [31]
  0.0       4.46     0.00        4     0.00     0.00  strdup [56]
  0.0       4.46     0.00        3     0.00     0.00  __sclose [871]
  0.0       4.46     0.00        3     0.00     0.00  __sflags [872]
  0.0       4.46     0.00        3     0.00     0.00  __sfp [74]
  0.0       4.46     0.00        3     0.00     0.00  __smakebuf [69]
  0.0       4.46     0.00        3     0.00     0.00  __swhatbuf [873]
  0.0       4.46     0.00        3     0.00     0.00  fclose [78]
  0.0       4.46     0.00        3     0.00     0.00  fopen [73]
  0.0       4.46     0.00        3     0.00     0.37  setlocale [24]
  0.0       4.46     0.00        2     0.00     0.00  __fix_locale_grouping_str [874]
  0.0       4.46     0.00        2     0.00     0.00  __getosreldate [875]
  0.0       4.46     0.00        2     0.00     0.00  __sprint [63]
  0.0       4.46     0.00        2     0.00     0.00  __sseek [876]
  0.0       4.46     0.00        2     0.00     0.00  __sys___sysctl [877]
  0.0       4.46     0.00        2     0.00     0.00  _lseek [878]
  0.0       4.46     0.00        2     0.00     0.00  _sseek [879]
  0.0       4.46     0.00        2     0.00     0.00  arena_chunk_tree_dirty_insert [104]
  0.0       4.46     0.00        2     0.00     0.00  getopt_internal [105]
  0.0       4.46     0.00        2     0.00     0.00  getopt_long [106]
  0.0       4.46     0.00        2     0.00     0.00  grep_calloc [70]
  0.0       4.46     0.00        2     0.00     0.00  lseek [107]
  0.0       4.46     0.00        1     0.00     0.00  _UTF8_init [880]
  0.0       4.46     0.00        1     0.00     0.00  __clean_env [881]
  0.0       4.46     0.00        1     0.00     0.00  __clean_env_destructor [882]
  0.0       4.46     0.00        1     0.00     0.49  __collate_load_tables [30]
  0.0       4.46     0.00        1     0.00     0.00  __cxa_finalize [883]
  0.0       4.46     0.00        1     0.00     0.00  __get_current_monetary_locale [884]
  0.0       4.46     0.00        1     0.00     0.00  __get_current_numeric_locale [885]
  0.0       4.46     0.00        1     0.00     0.00  __guard_setup [886]
  0.0       4.46     0.00        1     0.00     0.10  __messages_load_locale [43]
  0.0       4.46     0.00        1     0.00     0.10  __monetary_load_locale [44]
  0.0       4.46     0.00        1     0.00     0.10  __numeric_load_locale [45]
  0.0       4.46     0.00        1     0.00     0.00  __sfvwrite [64]
  0.0       4.46     0.00        1     0.00     0.00  __sinit [887]
  0.0       4.46     0.00        1     0.00     0.10  __time_load_locale [46]
  0.0       4.46     0.00        1     0.00     0.00  __vfprintf [65]
  0.0       4.46     0.00        1     0.00     0.22  __wrap_setrunelocale [37]
  0.0       4.46     0.00        1     0.00     0.00  _fseeko [72]
  0.0       4.46     0.00        1     0.00     0.00  _ftello [888]
  0.0       4.46     0.00        1     0.00     0.00  _mcleanup (889)
  0.0       4.46     0.00        1     0.00     0.00  _profil [890]
  0.0       4.46     0.00        1     0.00     0.00  add_pattern [66]
  0.0       4.46     0.00        1     0.00     0.00  arena_chunk_comp [108]
  0.0       4.46     0.00        1     0.00     0.00  arena_chunk_tree_dirty_remove [109]
  0.0       4.46     0.00        1     0.00     0.00  catclose [110]
  0.0       4.46     0.00        1     0.00     0.37  catopen [32]
  0.0       4.46     0.00        1     0.00     0.00  currentlocale [111]
  0.0       4.46     0.00        1     0.00     0.00  exit [112]
  0.0       4.46     0.00        1     0.00     0.00  fastcomp [75]
  0.0       4.46     0.00        1     0.00     0.00  grep_close [80]
  0.0       4.46     0.00        1     0.00     0.00  grep_open [61]
  0.0       4.46     0.00        1     0.00     0.00  localeconv [113]
  0.0       4.46     0.00        1     0.00   402.58  main [2]
  0.0       4.46     0.00        1     0.00     0.00  memchr [114]
  0.0       4.46     0.00        1     0.00     0.00  moncontrol [115]
  0.0       4.46     0.00        1     0.00     0.37  nl_langinfo [35]
  0.0       4.46     0.00        1     0.00     0.00  rewind [71]
  0.0       4.46     0.00        1     0.00     0.00  snprintf [62]
  0.0       4.46     0.00        1     0.00     0.00  strcasecmp [116]
  0.0       4.46     0.00        1     0.00     0.00  sysctl [117]
  0.0       4.46     0.00        0    0.00%           _start [3]
  0.0       4.46     0.00        0    0.00%           create_token_tree [68]
  0.0       4.46     0.00        0    0.00%           free_workarea_compile [76]
  0.0       4.46     0.00        0    0.00%           re_acquire_state_context [57]
  0.0       4.46     0.00        0    0.00%           re_compile_fastmap [79]
  0.0       4.46     0.00        0    0.00%           re_compile_internal [34]
  0.0       4.46     0.00        0    0.00%           re_dfa_add_node [58]
  0.0       4.46     0.00        0    0.00%           re_node_set_alloc [53]
  0.0       4.46     0.00        0    0.00%           re_node_set_init_1 [59]
  0.0       4.46     0.00        0    0.00%           re_node_set_init_copy [49]
  0.0       4.46     0.00        0    0.00%           re_node_set_merge [51]
  0.0       4.46     0.00        0    0.00%           re_string_destruct [22]
  0.0       4.46     0.00        0    0.00%           regcomp [77]
  0.0       4.46     0.00        0    0.00%           register_state [52]

Index by function name

 (118) .mcount             (889) _mcleanup             [8] grep_feof          
  [38] _Read_RuneMagi        [1] _mcount               [6] grep_fgetc         
 [880] _UTF8_init          [890] _profil               [5] grep_fgetln        
 [864] _UTF8_mbrtowc         [9] _read                [67] grep_malloc        
 [881] __clean_env          [12] _sread               [61] grep_open          
 [882] __clean_env_destruc [879] _sseek               [54] grep_realloc       
  [30] __collate_load_tabl [870] _stat                [19] idalloc            
 [883] __cxa_finalize       [66] add_pattern          [16] imalloc            
 [868] __detect_path_local  [83] arena_avail_comp     [92] isalloc            
 [863] __error_unthreaded   [84] arena_avail_tree_in  [23] loadlocale         
 [874] __fix_locale_groupi  [85] arena_avail_tree_re [113] localeconv         
  [28] __fread              [21] arena_bin_malloc_ea [107] lseek              
 [884] __get_current_monet  [60] arena_bin_malloc_ha   [2] main               
 [885] __get_current_numer [108] arena_chunk_comp     [17] malloc             
 [869] __get_locale_env    [104] arena_chunk_tree_di  [81] malloc_init        
 [875] __getosreldate      [100] arena_chunk_tree_di  [39] malloc_spin_lock   
 [886] __guard_setup       [109] arena_chunk_tree_di  [33] malloc_spin_unlock 
  [43] __messages_load_loc  [25] arena_dalloc         [91] mbrtowc            
  [44] __monetary_load_loc  [15] arena_malloc        [114] memchr             
  [45] __numeric_load_loca [101] arena_purge          [41] memcpy             
  [31] __part_load_locale   [86] arena_run_alloc      [20] memset             
 [871] __sclose             [89] arena_run_dalloc    [115] moncontrol         
 [872] __sflags             [26] arena_run_rc_incr    [35] nl_langinfo        
  [74] __sfp                [87] arena_run_split      [99] open               
  [64] __sfvwrite           [47] arenas_extend         [4] procfile           
 [887] __sinit              [55] calloc               [14] re_search_internal 
  [69] __smakebuf          [110] catclose             [42] re_string_construct
  [63] __sprint             [32] catopen              [40] re_string_realloc_b
  [11] __sread              [29] choose_arena         [50] realloc            
  [10] __srefill           [102] chunks_dirty_iter_c  [36] regexec            
  [13] __srget              [97] cnv                  [71] rewind             
 [876] __sseek             [111] currentlocale        [24] setlocale          
 [873] __swhatbuf          [112] exit                 [62] snprintf           
 [877] __sys___sysctl       [75] fastcomp            [116] strcasecmp         
 [867] __sys_close          [78] fclose               [95] strcat             
  [46] __time_load_locale    [7] fgetc                [93] strchr             
  [65] __vfprintf           [73] fopen                [94] strcmp             
  [37] __wrap_setrunelocal  [27] fread                [88] strcpy             
  [72] _fseeko              [18] free                 [56] strdup             
 [866] _fstat               [90] getenv               [96] strlcpy            
 [888] _ftello             [105] getopt_internal      [82] strncmp            
 [878] _lseek              [106] getopt_long         [103] strsep             
 [865] _madvise             [70] grep_calloc          [98] strtol             
  [48] _malloc_postfork     [80] grep_close          [117] sysctl             
Received on Sun Aug 15 2010 - 17:08:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC