aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.texi
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-12-25 04:32:29 +0000
committerJeff Law <law@redhat.com>1995-12-25 04:32:29 +0000
commit32843f948c896c825b38465b5495044f9f6cb298 (patch)
tree9eed0cebd32f609fb20ec5fc2b5ef95ec7ffe377 /gprof/gprof.texi
parent7920c1d195114002311c4a8b1209603a8c57d315 (diff)
downloadgdb-32843f948c896c825b38465b5495044f9f6cb298.zip
gdb-32843f948c896c825b38465b5495044f9f6cb298.tar.gz
gdb-32843f948c896c825b38465b5495044f9f6cb298.tar.bz2
* core.c (core_sym_class): Ignore symbols without BSF_FUNCTION
set if ignore_non_function is set. * gprof.h (ignore_non_functions): Declare. * gprof.c (ignore_non_functions): Define. (long_options): Add "ignore-non-functions". (usage): Add new options. (main): Recognize "-D" and "--ignore-non-functions" option. So we can get more accurate information on Solaris, HPUX and other systems that can uniquely identify function symbols.
Diffstat (limited to 'gprof/gprof.texi')
-rw-r--r--gprof/gprof.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gprof/gprof.texi b/gprof/gprof.texi
index ba05b59..1bf6315 100644
--- a/gprof/gprof.texi
+++ b/gprof/gprof.texi
@@ -294,6 +294,12 @@ function that was loaded directly before it in the executable file.
@c This is compatible with Unix @code{gprof}, but a bad idea.
This option affects both the flat profile and the call graph.
+@item -D
+The @samp{-D} option causes @code{gprof} to ignore symbols which
+are not known to be functions. This option will give more accurate
+profile data on systems where it is supported (Solaris and HPUX for
+example).
+
@item -e @var{function_name}
The @samp{-e @var{function}} option tells @code{gprof} to not print
information about the function @var{function_name} (and its