Back to index

cell-binutils  2.17cvs20070401
Defines | Typedefs | Enumerations | Functions | Variables
gprof.h File Reference
#include "sysdep.h"
#include "bfd.h"
#include "gconfig.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MIN(a, b)   ((a) < (b) ? (a) : (b))
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
#define PATH_MAX   1024
#define A_OUTNAME   "a.out" /* default core filename */
#define GMONNAME   "gmon.out" /* default profile filename */
#define GMONSUM   "gmon.sum" /* profile summary filename */
#define STYLE_FLAT_PROFILE   (1<<0)
#define STYLE_CALL_GRAPH   (1<<1)
#define STYLE_SUMMARY_FILE   (1<<2)
#define STYLE_EXEC_COUNTS   (1<<3)
#define STYLE_ANNOTATED_SOURCE   (1<<4)
#define STYLE_GMON_INFO   (1<<5)
#define STYLE_FUNCTION_ORDER   (1<<6)
#define STYLE_FILE_ORDER   (1<<7)
#define ANYDEBUG   (1<<0) /* 1 */
#define DFNDEBUG   (1<<1) /* 2 */
#define CYCLEDEBUG   (1<<2) /* 4 */
#define ARCDEBUG   (1<<3) /* 8 */
#define TALLYDEBUG   (1<<4) /* 16 */
#define TIMEDEBUG   (1<<5) /* 32 */
#define SAMPLEDEBUG   (1<<6) /* 64 */
#define AOUTDEBUG   (1<<7) /* 128 */
#define CALLDEBUG   (1<<8) /* 256 */
#define LOOKUPDEBUG   (1<<9) /* 512 */
#define PROPDEBUG   (1<<10) /* 1024 */
#define BBDEBUG   (1<<11) /* 2048 */
#define IDDEBUG   (1<<12) /* 4096 */
#define SRCDEBUG   (1<<13) /* 8192 */
#define DBG(l, s)

Typedefs

typedef unsigned char UNIT [2]

Enumerations

enum  File_Format {
  FF_AUTO = 0, FF_MAGIC, FF_BSD, FF_BSD44,
  FF_PROF
}

Functions

void done (int status) ATTRIBUTE_NORETURN

Variables

const char * whoami
const char * function_mapping_file
const char * a_out_name
long hz
int debug_level
int output_style
int output_width
bfd_boolean bsd_style_output
bfd_boolean demangle
bfd_boolean discard_underscores
bfd_boolean ignore_direct_calls
bfd_boolean ignore_static_funcs
bfd_boolean ignore_zeros
bfd_boolean line_granularity
bfd_boolean print_descriptions
bfd_boolean print_path
bfd_boolean ignore_non_functions
File_Format file_format
bfd_boolean first_output

Define Documentation

#define A_OUTNAME   "a.out" /* default core filename */

Definition at line 57 of file gprof.h.

#define ANYDEBUG   (1<<0) /* 1 */

Definition at line 80 of file gprof.h.

#define AOUTDEBUG   (1<<7) /* 128 */

Definition at line 87 of file gprof.h.

#define ARCDEBUG   (1<<3) /* 8 */

Definition at line 83 of file gprof.h.

#define BBDEBUG   (1<<11) /* 2048 */

Definition at line 91 of file gprof.h.

#define CALLDEBUG   (1<<8) /* 256 */

Definition at line 88 of file gprof.h.

#define CYCLEDEBUG   (1<<2) /* 4 */

Definition at line 82 of file gprof.h.

#define DBG (   l,
  s 
)

Definition at line 98 of file gprof.h.

#define DFNDEBUG   (1<<1) /* 2 */

Definition at line 81 of file gprof.h.

#define GMONNAME   "gmon.out" /* default profile filename */

Definition at line 58 of file gprof.h.

#define GMONSUM   "gmon.sum" /* profile summary filename */

Definition at line 59 of file gprof.h.

#define IDDEBUG   (1<<12) /* 4096 */

Definition at line 92 of file gprof.h.

#define LOOKUPDEBUG   (1<<9) /* 512 */

Definition at line 89 of file gprof.h.

#define MAX (   a,
  b 
)    ((a) > (b) ? (a) : (b))

Definition at line 47 of file gprof.h.

#define MIN (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 44 of file gprof.h.

#define PATH_MAX   1024

Definition at line 54 of file gprof.h.

#define PROPDEBUG   (1<<10) /* 1024 */

Definition at line 90 of file gprof.h.

#define SAMPLEDEBUG   (1<<6) /* 64 */

Definition at line 86 of file gprof.h.

#define SRCDEBUG   (1<<13) /* 8192 */

Definition at line 93 of file gprof.h.

#define STYLE_ANNOTATED_SOURCE   (1<<4)

Definition at line 75 of file gprof.h.

#define STYLE_CALL_GRAPH   (1<<1)

Definition at line 72 of file gprof.h.

#define STYLE_EXEC_COUNTS   (1<<3)

Definition at line 74 of file gprof.h.

#define STYLE_FILE_ORDER   (1<<7)

Definition at line 78 of file gprof.h.

#define STYLE_FLAT_PROFILE   (1<<0)

Definition at line 71 of file gprof.h.

#define STYLE_FUNCTION_ORDER   (1<<6)

Definition at line 77 of file gprof.h.

#define STYLE_GMON_INFO   (1<<5)

Definition at line 76 of file gprof.h.

#define STYLE_SUMMARY_FILE   (1<<2)

Definition at line 73 of file gprof.h.

#define TALLYDEBUG   (1<<4) /* 16 */

Definition at line 84 of file gprof.h.

#define TIMEDEBUG   (1<<5) /* 32 */

Definition at line 85 of file gprof.h.


Typedef Documentation

typedef unsigned char UNIT[2]

Definition at line 107 of file gprof.h.


Enumeration Type Documentation

Enumerator:
FF_AUTO 
FF_MAGIC 
FF_BSD 
FF_BSD44 
FF_PROF 

Definition at line 101 of file gprof.h.


Function Documentation

void done ( int  status)

Definition at line 632 of file gprof.c.

{
  exit (status);
}

Variable Documentation

const char* whoami