Static Public Member Functions

CoreUtils Class Reference

#include <CoreUtils.h>

Static Public Member Functions

static intptr_t find_vaddr (intptr_t vaddr, intptr_t upper, intptr_t lower)
static void insert_table (intptr_t vaddr1, intptr_t offset1, intptr_t fsize1)
static intptr_t read_core_memory (intptr_t vaddr, intptr_t length, char *buf, FILE *fp)
static intptr_t read_core_memory (intptr_t offset, intptr_t vaddr, intptr_t length, char *buf, FILE *fp)
static intptr_t read_from_core (intptr_t vaddr, intptr_t bytes, char *buf)
static intptr_t read_heap_header (intptr_t vaddr, intptr_t bytes, HdrHeap h)
static int get_next_frame (core_stack_state *coress)
static void find_stuff (StuffTest_f f)
static void test_HttpSM (void *)
static void test_HttpSM_from_tunnel (void *)
static void process_HttpSM (HttpSM *core_ptr)
static void process_EThread (EThread *eth_test)
static void process_NetVC (UnixNetVConnection *eth_test)
static void dump_history (HttpSM *hsm)
static int load_http_hdr (HTTPHdr *core_hdr, HTTPHdr *live_hdr)
static void print_http_hdr (HTTPHdr *h, const char *name)
static char * load_string (const char *addr)
static void test_HdrHeap (void *arg)

Detailed Description

Definition at line 97 of file CoreUtils.h.


Member Function Documentation

void CoreUtils::dump_history ( HttpSM hsm  )  [static]
static void CoreUtils::find_stuff ( StuffTest_f  f  )  [static]
intptr_t CoreUtils::find_vaddr ( intptr_t  vaddr,
intptr_t  upper,
intptr_t  lower 
) [static]

Definition at line 137 of file CoreUtils.cc.

References assert, and inTable.

Referenced by insert_table(), read_core_memory(), read_from_core(), and read_heap_header().

static int CoreUtils::get_next_frame ( core_stack_state *  coress  )  [static]
void CoreUtils::insert_table ( intptr_t  vaddr1,
intptr_t  offset1,
intptr_t  fsize1 
) [static]

Definition at line 168 of file CoreUtils.cc.

References find_vaddr(), memTable::fsize, memTable::offset, and memTable::vaddr.

int CoreUtils::load_http_hdr ( HTTPHdr core_hdr,
HTTPHdr live_hdr 
) [static]
char * CoreUtils::load_string ( const char *  addr  )  [static]

Definition at line 866 of file CoreUtils.cc.

References ats_strdup, and read_from_core().

Referenced by dump_history().

void CoreUtils::print_http_hdr ( HTTPHdr h,
const char *  name 
) [static]
void CoreUtils::process_EThread ( EThread eth_test  )  [static]

Definition at line 810 of file CoreUtils.cc.

References ats_free(), ats_malloc(), read_from_core(), and Thread::tid.

void CoreUtils::process_HttpSM ( HttpSM core_ptr  )  [static]
void CoreUtils::process_NetVC ( UnixNetVConnection eth_test  )  [static]
intptr_t CoreUtils::read_core_memory ( intptr_t  vaddr,
intptr_t  length,
char *  buf,
FILE *  fp 
) [static]

Definition at line 218 of file CoreUtils.cc.

References find_vaddr(), and inTable.

intptr_t CoreUtils::read_core_memory ( intptr_t  offset,
intptr_t  vaddr,
intptr_t  length,
char *  buf,
FILE *  fp 
) [static]

Definition at line 238 of file CoreUtils.cc.

References find_vaddr(), and inTable.

intptr_t CoreUtils::read_from_core ( intptr_t  vaddr,
intptr_t  bytes,
char *  buf 
) [static]
intptr_t CoreUtils::read_heap_header ( intptr_t  vaddr,
intptr_t  bytes,
HdrHeap  h 
) [static]

Definition at line 788 of file CoreUtils.cc.

References find_vaddr(), and fp.

void CoreUtils::test_HdrHeap ( void *  arg  )  [static]
void CoreUtils::test_HttpSM ( void *  arg  )  [static]
void CoreUtils::test_HttpSM_from_tunnel ( void *  arg  )  [static]

The documentation for this class was generated from the following files: