34 #include <sys/procfs.h> 39 #define CORE_DIRECTORY "/var/core" 40 #define CORE_TMP_DIRECTORY "/var/core_tmp" 41 #define CORE_LOCK_DIRECTORY "/tmp/.core_locks" 42 #define CORE_MAX_FILENAME_LENGTH 255 43 #define MAX_PROC_NAME_LENGTH 32 44 #define CRASH_ID_LEN 8 45 #define CRASHID_FILE "/tmp/.crashid" // the file where the white screen app will read the crashid 47 #define CORE_FILE_PATTERN "%s/core.%d.%s.%d.gz" 48 #define CONTEXT_FILE_PATTERN "%s/context.%d.%s.%d.txt" 50 #define ELF_Ehdr Elf32_Ehdr 51 #define ELF_Phdr Elf32_Phdr 52 #define ELF_Shdr Elf32_Shdr 53 #define ELF_Nhdr Elf32_Nhdr 96 #endif // #ifndef DLT_CDH_H unsigned int m_note_page_size
cdh_status_t get_exec_name(unsigned int p_pid_str, char *p_exec_name, int p_exec_name_maxsize)
cdh_status_t treat_coredump(proc_info_t *p_proc)
uint64_t m_crashid_phase1
#define MAX_PROC_NAME_LENGTH
cdh_status_t check_core_directory()
cdh_status_t move_to_core_directory(proc_info_t *p_proc)
cdh_status_t treat_crash_data(proc_info_t *p_proc)
cdh_registers_t m_registers
cdh_status_t write_proc_context(const proc_info_t *)