Convert a jit dump file to an ELF file. More...
#include "opjitconv.h"#include "opd_printf.h"#include "op_file.h"#include "op_libiberty.h"#include <dirent.h>#include <fnmatch.h>#include <errno.h>#include <fcntl.h>#include <limits.h>#include <pwd.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/mman.h>#include <sys/types.h>#include <unistd.h>#include <wait.h>
Functions | |
| LIST_HEAD (jitdump_deletion_candidates) | |
| int | change_owner (char *path) |
| int | copy_dumpfile (char const *dumpfile, char *tmp_dumpfile) |
| int | copy_elffile (char *elf_file, char *tmp_elffile) |
| int | main (int argc, char **argv) |
Variables | |
| struct jitentry * | jitentry_list = NULL |
| struct jitentry_debug_line * | jitentry_debug_line_list = NULL |
| asymbol ** | syms |
| enum bfd_architecture | dump_bfd_arch |
| int | dump_bfd_mach |
| char const * | dump_bfd_target_name |
| struct passwd * | pw_oprofile |
| char | sys_cmd_buffer [PATH_MAX+1] |
| bfd * | cur_bfd |
| u32 | entry_count |
| u32 | max_entry_count |
| struct jitentry ** | entries_symbols_ascending |
| struct jitentry ** | entries_address_ascending |
| int | debug |
| int | non_root |
| int | delete_jitdumps |
Convert a jit dump file to an ELF file.
Copyright IBM Corporation 2007
| int change_owner | ( | char * | path | ) |
References non_root, OP_JIT_CONV_FAIL, OP_JIT_CONV_OK, and pw_oprofile.
Referenced by copy_dumpfile().
| int copy_dumpfile | ( | char const * | dumpfile, | |
| char * | tmp_dumpfile | |||
| ) |
References change_owner(), OP_JIT_CONV_FAIL, OP_JIT_CONV_OK, and sys_cmd_buffer.
| int copy_elffile | ( | char * | elf_file, | |
| char * | tmp_elffile | |||
| ) |
References OP_JIT_CONV_FAIL, OP_JIT_CONV_OK, and sys_cmd_buffer.
| LIST_HEAD | ( | jitdump_deletion_candidates | ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
References debug, delete_jitdumps, non_root, OP_JIT_CONV_OK, and verbprintf.
| bfd* cur_bfd |
Referenced by op_jit_convert().
| int debug |
Referenced by create_section(), fill_sections(), main(), and resolve_overlaps().
| int delete_jitdumps |
Referenced by main().
| enum bfd_architecture dump_bfd_arch |
Referenced by open_elf().
| int dump_bfd_mach |
Referenced by open_elf().
| char const* dump_bfd_target_name |
Referenced by open_elf().
| struct jitentry** entries_address_ascending |
Referenced by create_arrays(), fill_sections(), op_jit_convert(), and partition_sections().
| struct jitentry** entries_symbols_ascending |
Referenced by create_arrays(), disambiguate_symbol_names(), and op_jit_convert().
Referenced by op_jit_convert().
| struct jitentry_debug_line* jitentry_debug_line_list = NULL |
Referenced by init_debug_line_info(), and op_jit_convert().
| struct jitentry* jitentry_list = NULL |
Referenced by op_jit_convert().
Referenced by create_arrays(), and op_jit_convert().
| int non_root |
Referenced by change_owner(), and main().
| struct passwd* pw_oprofile |
Referenced by change_owner().
| asymbol** syms |
Referenced by op_jit_convert(), and callgraph_container::output_hint().
| char sys_cmd_buffer[PATH_MAX+1] |
Referenced by copy_dumpfile(), and copy_elffile().
1.6.1