Back to index

glibc  2.9
profil-counter.h File Reference
#include <signal.h>
#include <sigcontextinfo.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


static void profil_counter (int signo, const SIGCONTEXT scp)

Function Documentation

static void profil_counter ( int  signo,
const 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 ("");