* gprof.c (inline_file_names): New variable.

(OPTION_INLINE_FILE_NAMES): Define.
	(long_options): Add --inline-file-names.
	(usage): Likewise.
	(main): Process --inline-file-names.
	* gprof.h: Add prototype for inline_file_names.
	* utils.c (print_name_only): Handle inline_file_names.
	* gprof.texi: Document new command line option.
This commit is contained in:
Conrad Hoffmann
2013-11-21 13:13:06 +00:00
committed by Nick Clifton
parent 97122a4cff
commit 630b051036
5 changed files with 46 additions and 19 deletions

View File

@@ -126,6 +126,7 @@ extern bfd_boolean line_granularity; /* function or line granularity? */
extern bfd_boolean print_descriptions; /* output profile description */
extern bfd_boolean print_path; /* print path or just filename? */
extern bfd_boolean ignore_non_functions; /* Ignore non-function symbols. */
extern bfd_boolean inline_file_names; /* print file names after symbols */
extern File_Format file_format; /* requested file format */