hprof_listener.c File Reference

#include "hprof.h"
Include dependency graph for hprof_listener.c:

Go to the source code of this file.

Enumerations

enum  HprofCmd {
  HPROF_CMD_GC = 0x01, HPROF_CMD_DUMP_HEAP = 0x02, HPROF_CMD_ALLOC_SITES = 0x03, HPROF_CMD_HEAP_SUMMARY = 0x04,
  HPROF_CMD_EXIT = 0x05, HPROF_CMD_DUMP_TRACES = 0x06, HPROF_CMD_CPU_SAMPLES = 0x07, HPROF_CMD_CONTROL = 0x08,
  HPROF_CMD_EOF = 0xFF
}

Functions

static jint recv_fully (int f, char *buf, int len)
static unsigned char recv_u1 (void)
static unsigned short recv_u2 (void)
static unsigned recv_u4 (void)
static ObjectIndex recv_id (void)
static void JNICALL listener_loop_function (jvmtiEnv *jvmti, JNIEnv *env, void *p)
void listener_init (JNIEnv *env)
void listener_term (JNIEnv *env)

Enumeration Type Documentation

enum HprofCmd
Enumerator:
HPROF_CMD_GC 
HPROF_CMD_DUMP_HEAP 
HPROF_CMD_ALLOC_SITES 
HPROF_CMD_HEAP_SUMMARY 
HPROF_CMD_EXIT 
HPROF_CMD_DUMP_TRACES 
HPROF_CMD_CPU_SAMPLES 
HPROF_CMD_CONTROL 
HPROF_CMD_EOF 

Definition at line 118 of file hprof_listener.c.


Function Documentation

void listener_init ( JNIEnv *  env  ) 

Definition at line 386 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void JNICALL listener_loop_function ( jvmtiEnv *  jvmti,
JNIEnv *  env,
void *  p 
) [static]

Definition at line 210 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void listener_term ( JNIEnv *  env  ) 

Definition at line 400 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static jint recv_fully ( int  f,
char *  buf,
int  len 
) [static]

Definition at line 131 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static ObjectIndex recv_id ( void   )  [static]

Definition at line 197 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned char recv_u1 ( void   )  [static]

Definition at line 158 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned short recv_u2 ( void   )  [static]

Definition at line 171 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned recv_u4 ( void   )  [static]

Definition at line 184 of file hprof_listener.c.

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 19 Nov 2012 for hprof by  doxygen 1.6.1