Back to index

glibc  2.9
Functions
profil-counter.h File Reference
#include <signal.h>
#include <sigcontextinfo.h>

Go to the source code of this file.

Functions

static void profil_counter (int signo, SIGCONTEXT scp)

Function Documentation

static void profil_counter ( int  signo,
SIGCONTEXT  scp 
) [static]

Definition at line 24 of file profil-counter.h.

{
  profil_count ((void *) GET_PC (scp));

  /* This is a hack to prevent the compiler from implementing the
     above function call as a sibcall.  The sibcall would overwrite
     the signal context.  */
  asm volatile ("");
}