Changeset 609 for branches/GNU/src/binutils/gprof/gprof.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/gprof/gprof.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* 2 * Copyright (c) 1983 Regents of the University of California.3 * All rights reserved.2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that: (1) source distributions retain this entire copyright 7 * notice and comment, and (2) distributions including binaries display 8 * the following acknowledgement: ``This product includes software 9 * developed by the University of California, Berkeley and its contributors'' 10 * in the documentation or other materials provided with the distribution 11 * and in all advertising materials mentioning features or use of this 12 * software. Neither the name of the University nor the names of its 13 * contributors may be used to endorse or promote products derived 14 * from this software without specific prior written permission. 15 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 16 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 3. Neither the name of the University nor the names of its contributors 14 * may be used to endorse or promote products derived from this software 15 * without specific prior written permission. 18 16 * 19 * @(#)gprof.h 5.9 (Berkeley) 6/1/90 17 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 20 28 */ 21 29 #ifndef gprof_h 22 30 #define gprof_h 23 31 24 #include "ansidecl.h"25 26 32 /* Include the BFD sysdep.h file. */ 27 33 #include "sysdep.h" 34 #include "bfd.h" 28 35 29 36 /* Undefine the BFD PACKAGE and VERSION macros before including the … … 64 71 #include "bin-bugs.h" 65 72 66 /*67 * These may already be defined on some systems. We could probably68 * just use the BFD versions of these, since BFD has already dealt69 * with this problem.70 */71 #undef FALSE72 #define FALSE 073 #undef TRUE74 #define TRUE 175 76 73 #define STYLE_FLAT_PROFILE (1<<0) 77 74 #define STYLE_CALL_GRAPH (1<<1) … … 110 107 File_Format; 111 108 112 typedef int bool;113 109 typedef unsigned char UNIT[2]; /* unit of profiling */ 114 110 … … 121 117 * Command-line options: 122 118 */ 123 extern int debug_level; /* debug level */119 extern int debug_level; /* debug level */ 124 120 extern int output_style; 125 extern int output_width; /* controls column width in index */126 extern b oolbsd_style_output; /* as opposed to FSF style output */127 extern b ooldemangle; /* demangle symbol names? */128 extern b ooldiscard_underscores; /* discard leading underscores? */129 extern b oolignore_direct_calls; /* don't count direct calls */130 extern b oolignore_static_funcs; /* suppress static functions */131 extern b oolignore_zeros; /* ignore unused symbols/files */132 extern b oolline_granularity; /* function or line granularity? */133 extern b oolprint_descriptions; /* output profile description */134 extern b oolprint_path; /* print path or just filename? */135 extern b ool ignore_non_functions;/* Ignore non-function symbols. */121 extern int output_width; /* controls column width in index */ 122 extern bfd_boolean bsd_style_output; /* as opposed to FSF style output */ 123 extern bfd_boolean demangle; /* demangle symbol names? */ 124 extern bfd_boolean discard_underscores; /* discard leading underscores? */ 125 extern bfd_boolean ignore_direct_calls; /* don't count direct calls */ 126 extern bfd_boolean ignore_static_funcs; /* suppress static functions */ 127 extern bfd_boolean ignore_zeros; /* ignore unused symbols/files */ 128 extern bfd_boolean line_granularity; /* function or line granularity? */ 129 extern bfd_boolean print_descriptions; /* output profile description */ 130 extern bfd_boolean print_path; /* print path or just filename? */ 131 extern bfd_boolean ignore_non_functions; /* Ignore non-function symbols. */ 136 132 137 extern File_Format file_format; /* requested file format */133 extern File_Format file_format; /* requested file format */ 138 134 139 extern b oolfirst_output; /* no output so far? */135 extern bfd_boolean first_output; /* no output so far? */ 140 136 141 extern void done PARAMS ((int status)) ;137 extern void done PARAMS ((int status)) ATTRIBUTE_NORETURN; 142 138 143 139 #endif /* gprof_h */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.