diff options
author | bde <bde@FreeBSD.org> | 1994-09-05 16:14:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-09-05 16:14:54 +0000 |
commit | 63eff9d9b845dca66ab4dc6bde9960b5edfc249a (patch) | |
tree | cda563e13e0df6f2d4199f44712b1a165f696055 /usr.bin/gprof/gprof.1 | |
parent | 889bf31f37aef15112814b058e35c5d89e8ad6db (diff) | |
download | FreeBSD-src-63eff9d9b845dca66ab4dc6bde9960b5edfc249a.zip FreeBSD-src-63eff9d9b845dca66ab4dc6bde9960b5edfc249a.tar.gz |
New flag -u to suppress functions whose name does not begin with an
underscore. Use it to avoid seeing badsw when profiling the kernel.
Print times more accurately (e.g. usec in %8.0f format instead of
msec in %8.2f format for averages) if hz >= 10000. This should have
no effect now since profhz is only 1024.
Diffstat (limited to 'usr.bin/gprof/gprof.1')
-rw-r--r-- | usr.bin/gprof/gprof.1 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/gprof/gprof.1 b/usr.bin/gprof/gprof.1 index dfb0f21..63ea872 100644 --- a/usr.bin/gprof/gprof.1 +++ b/usr.bin/gprof/gprof.1 @@ -91,8 +91,8 @@ Second, a flat profile is given, similar to that provided by .Xr prof 1 . This listing gives the total execution times, the call counts, -the time in milleseconds the call spent in the routine itself, and -the time in milleseconds the call spent in the routine itself including +the time in msec or usec the call spent in the routine itself, and +the time in msec or usec the call spent in the routine itself including its descendents. .Pp Finally, an index of the function names is provided. @@ -205,6 +205,13 @@ executions of gprof (probably also with a to accumulate profile data across several runs of an .Pa a.out file. +.It Fl u +Suppresses the printing of functions whose name does not begin with +an underscore. +All relevant information about such functions belongs to the +(non-suppressed) function with the next lowest address. +This is useful for eliminating "functions" that are just labels +inside other functions. .It Fl z Displays routines that have zero usage (as shown by call counts and accumulated time). |