Back to index

glibc  2.9
Functions
dl-profstub.c File Reference
#include <dlfcn.h>
#include <elf.h>
#include <ldsodefs.h>

Go to the source code of this file.

Functions

void _dl_mcount_wrapper (void *selfpc)
void _dl_mcount_wrapper_check (void *selfpc)

Function Documentation

void _dl_mcount_wrapper ( void *  selfpc)

Definition at line 30 of file dl-profstub.c.

{
  GLRO(dl_mcount) ((ElfW(Addr)) RETURN_ADDRESS (0), (ElfW(Addr)) selfpc);
}
void _dl_mcount_wrapper_check ( void *  selfpc)

Definition at line 37 of file dl-profstub.c.

{
  if (GL(dl_profile_map) != NULL)
    GLRO(dl_mcount) ((ElfW(Addr)) RETURN_ADDRESS (0), (ElfW(Addr)) selfpc);
}