Back to index

glibc  2.9
Defines | Functions
machine-gmon.h File Reference
#include <sysdep.h>

Go to the source code of this file.

Defines

#define _MCOUNT_DECL(frompc, selfpc)   static inline void mcount_internal (u_long frompc, u_long selfpc)
#define MCOUNT

Functions

void _mcount (void) asm("mcount")
static void mcount_internal (u_long frompc, u_long selfpc)

Define Documentation

#define _MCOUNT_DECL (   frompc,
  selfpc 
)    static inline void mcount_internal (u_long frompc, u_long selfpc)

Definition at line 47 of file machine-gmon.h.

#define MCOUNT
Value:
void _mcount (void)                                                  \
{                                                                    \
  mcount_internal ((u_long) RETURN_ADDRESS (1), (u_long) RETURN_ADDRESS (0)); \
}

Definition at line 50 of file machine-gmon.h.


Function Documentation

void _mcount ( void  )
static void mcount_internal ( u_long  frompc,
u_long  selfpc 
) [static]