gprof: Deprecated Options
1
1 4.4 Deprecated Options
1 ======================
1
1 These options have been replaced with newer versions that use symspecs.
1
1 '-e FUNCTION_NAME'
1 The '-e FUNCTION' option tells 'gprof' to not print information
1 about the function FUNCTION_NAME (and its children...) in the call
1 graph. The function will still be listed as a child of any
1 functions that call it, but its index number will be shown as '[not
1 printed]'. More than one '-e' option may be given; only one
1 FUNCTION_NAME may be indicated with each '-e' option.
1
1 '-E FUNCTION_NAME'
1 The '-E FUNCTION' option works like the '-e' option, but time spent
1 in the function (and children who were not called from anywhere
1 else), will not be used to compute the percentages-of-time for the
1 call graph. More than one '-E' option may be given; only one
1 FUNCTION_NAME may be indicated with each '-E' option.
1
1 '-f FUNCTION_NAME'
1 The '-f FUNCTION' option causes 'gprof' to limit the call graph to
1 the function FUNCTION_NAME and its children (and their
1 children...). More than one '-f' option may be given; only one
1 FUNCTION_NAME may be indicated with each '-f' option.
1
1 '-F FUNCTION_NAME'
1 The '-F FUNCTION' option works like the '-f' option, but only time
1 spent in the function and its children (and their children...) will
1 be used to determine total-time and percentages-of-time for the
1 call graph. More than one '-F' option may be given; only one
1 FUNCTION_NAME may be indicated with each '-F' option. The '-F'
1 option overrides the '-E' option.
1
1 Note that only one function can be specified with each '-e', '-E',
1 '-f' or '-F' option. To specify more than one function, use multiple
1 options. For example, this command:
1
1 gprof -e boring -f foo -f bar myprogram > gprof.output
1
1 lists in the call graph all functions that were reached from either
1 'foo' or 'bar' and were not reachable from 'boring'.
1