forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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? */
|
||||
|
||||
Reference in New Issue
Block a user