hprof.h revision 2362
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stddef.h>
#include <stdarg.h>
#include <limits.h>
#include <time.h>
#include <errno.h>
#include "jni.h"
#include "jvmti.h"
#include "classfile_constants.h"
#ifndef SKIP_NPT
#define jlong_add(a, b) ((a) + (b))
typedef unsigned SerialNumber;
#include "hprof_md.h"
typedef unsigned TableIndex;
typedef int MethodIndex;
enum ClassStatus {
typedef unsigned char ObjectKind;
typedef struct FieldInfo {
unsigned short modifiers;
unsigned char primType;
unsigned char primSize;
} FieldInfo;
typedef struct ConstantPoolValue {
unsigned constant_pool_index;
#include "hprof_error.h"
#include "hprof_util.h"
#include "hprof_blocks.h"
#include "hprof_stack.h"
#include "hprof_init.h"
#include "hprof_table.h"
#include "hprof_string.h"
#include "hprof_class.h"
#include "hprof_tracker.h"
#include "hprof_frame.h"
#include "hprof_monitor.h"
#include "hprof_trace.h"
#include "hprof_site.h"
#include "hprof_event.h"
#include "hprof_reference.h"
#include "hprof_object.h"
#include "hprof_loader.h"
#include "hprof_tls.h"
#include "hprof_check.h"
#include "hprof_io.h"
#include "hprof_listener.h"
#include "hprof_cpu.h"
#include "hprof_tag.h"
struct LineTable;
#ifndef SKIP_NPT
int heap_fd;
char *heapfilename;
int check_fd;
char *checkfilename;
char * write_buffer;
int write_buffer_index;
int write_buffer_size;
char * heap_buffer;
int heap_buffer_index;
int heap_buffer_size;
char * check_buffer;
int check_buffer_index;
int check_buffer_size;
/* Serial number counters for tables (see hprof_table.c), classes,
int tracker_method_count;
void * java_crw_demo_library;
void * java_crw_demo_function;
void * java_crw_demo_classname_function;
} GlobalData;