From 32843f948c896c825b38465b5495044f9f6cb298 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 25 Dec 1995 04:32:29 +0000 Subject: * 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. --- gprof/gprof.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gprof/gprof.h') diff --git a/gprof/gprof.h b/gprof/gprof.h index e4177a9..94fee0d 100644 --- a/gprof/gprof.h +++ b/gprof/gprof.h @@ -128,6 +128,8 @@ extern bool ignore_zeros; /* ignore unused symbols/files */ extern bool line_granularity; /* function or line granularity? */ extern bool print_descriptions; /* output profile description */ extern bool print_path; /* print path or just filename? */ +extern bool ignore_non_functions;/* Ignore non-function symbols. */ + extern File_Format file_format; /* requested file format */ extern bool first_output; /* no output so far? */ -- cgit v1.1