#include "define.h"
Include dependency graph for debug.c:
Go to the source code of this file.
Data Structures | |
struct | pst_debug_func |
Defines | |
#define | NUM_COL 32 |
#define | MAX_DEPTH 32 |
Functions | |
void | pst_debug_lock () |
void | pst_debug_unlock () |
void | pst_debug_init (const char *fname, void *output_mutex) |
void | pst_debug_func (const char *function) |
void | pst_debug_func_ret () |
void | pst_debug_info (int line, const char *file) |
void | pst_debug (int line, const char *file, const char *fmt,...) |
void | pst_debug_hexdump (int line, const char *file, const char *buf, size_t size, int cols, int delta) |
void | pst_debug_hexdumper (FILE *out, const char *buf, size_t size, int cols, int delta) |
void | pst_debug_close (void) |
void * | pst_malloc (size_t size) |
Variables | |
pst_debug_func * | func_head = NULL |
int | func_depth = 0 |
char | indent [32 *4+1] |
FILE * | debug_fp = NULL |
sem_t * | debug_mutex = NULL |
|
Definition at line 11 of file debug.c. Referenced by pst_debug_hexdumper(), pst_debug_info(), and pst_debug_init(). |
|
|
|
Definition at line 86 of file debug.c. References debug_fp, pst_debug_info(), and pst_debug_unlock(). |
Here is the call graph for this function:
|
Definition at line 146 of file debug.c. References debug_fp, func_head, pst_debug_func::name, and pst_debug_func::next. Referenced by pst_debug_init(). |
|
Definition at line 53 of file debug.c. References func_depth, func_head, pst_debug_func::name, pst_debug_func::next, and pst_malloc(). |
Here is the call graph for this function:
|
Definition at line 62 of file debug.c. References DIE, func_depth, func_head, pst_debug_func::name, and pst_debug_func::next. |
|
Definition at line 99 of file debug.c. References debug_fp, pst_debug_hexdumper(), pst_debug_info(), and pst_debug_unlock(). |
Here is the call graph for this function:
|
Definition at line 108 of file debug.c. References func_depth, indent, and MAX_DEPTH. Referenced by dumper(), main(), and pst_debug_hexdump(). |
|
Definition at line 77 of file debug.c. References debug_fp, func_depth, func_head, indent, MAX_DEPTH, pst_debug_func::name, and pst_debug_lock(). Referenced by pst_debug(), and pst_debug_hexdump(). |
Here is the call graph for this function:
|
Definition at line 38 of file debug.c. References debug_fp, debug_mutex, indent, MAX_DEPTH, and pst_debug_close(). |
Here is the call graph for this function:
|
Definition at line 22 of file debug.c. References debug_mutex. Referenced by pst_debug_info(). |
|
Definition at line 30 of file debug.c. References debug_mutex. Referenced by pst_debug(), and pst_debug_hexdump(). |
|
Definition at line 158 of file debug.c. Referenced by deep_copy(), dumper(), main(), pst_build_id_ptr(), pst_debug_func(), pst_getTopOfFolders(), pst_load_extended_attributes(), pst_lzfu_decompress(), pst_open(), pst_parse_item(), pst_vballoc(), and write_separate_attachment(). |
|
Definition at line 16 of file debug.c. Referenced by pst_debug(), pst_debug_close(), pst_debug_hexdump(), pst_debug_info(), and pst_debug_init(). |
|
Definition at line 18 of file debug.c. Referenced by pst_debug_init(), pst_debug_lock(), and pst_debug_unlock(). |
|
Definition at line 14 of file debug.c. Referenced by pst_debug_func(), pst_debug_func_ret(), pst_debug_hexdumper(), and pst_debug_info(). |
|
Definition at line 13 of file debug.c. Referenced by pst_debug_close(), pst_debug_func(), pst_debug_func_ret(), and pst_debug_info(). |
|
Definition at line 15 of file debug.c. Referenced by pst_debug_hexdumper(), pst_debug_info(), and pst_debug_init(). |