opjitconv.c File Reference

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 <assert.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>
Include dependency graph for opjitconv.c:

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 jitentryjitentry_list = NULL
struct jitentry_debug_linejitentry_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

Detailed Description

Convert a jit dump file to an ELF file.

Remarks:
Copyright 2007 OProfile authors
Read the file COPYING
Author:
Jens Wilke Maynard Johnson Daniel Hansel Gisle Dankel

Copyright IBM Corporation 2007


Function Documentation

int change_owner ( char *  path  ) 
int copy_dumpfile ( char const *  dumpfile,
char *  tmp_dumpfile 
)
int copy_elffile ( char *  elf_file,
char *  tmp_elffile 
)
LIST_HEAD ( jitdump_deletion_candidates   ) 
int main ( int  argc,
char **  argv 
)

Variable Documentation

bfd* cur_bfd

Referenced by op_jit_convert().

int debug

Referenced by main().

enum bfd_architecture dump_bfd_arch

Referenced by open_elf().

Referenced by open_elf().

char const* dump_bfd_target_name

Referenced by open_elf().

Referenced by 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
char sys_cmd_buffer[PATH_MAX+1]

Referenced by copy_dumpfile(), and copy_elffile().


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1