/external/oprofile/libpp/ |
H A D | populate.cpp | 33 populate_from_files(profile_t & profile, op_bfd const & abfd, argument 47 profile.set_offset(abfd); 69 op_bfd abfd(ip.image, symbol_filter, 92 if (populate_from_files(profile, abfd, it->files)) { 94 samples.add(profile, abfd, it->app_image, i); 109 *has_debug_info = abfd.has_debug_info();
|
H A D | populate_for_spu.cpp | 44 * file of the SPU image, abfd->filename. 56 op_bfd * abfd = NULL; local 68 abfd = new op_bfd(header.embedded_offset, 75 abfd = new op_bfd(ip.image, 79 fname_to_check = abfd->get_filename(); 81 profile.set_offset(*abfd); 89 samples.add(profile, *abfd, app_image, ip_grp_num); 99 *has_debug_info = abfd->has_debug_info(); 100 delete abfd;
|
H A D | profile.cpp | 128 void profile_t::set_offset(op_bfd const & abfd) argument 131 // shift sample because abfd.get_symbol_range() return the whole 134 if (abfd.valid()) { 139 start_offset = abfd.get_start_offset(0);
|
H A D | profile_container.cpp | 74 op_bfd const & abfd, string const & app_name, 77 string const image_name = abfd.get_filename(); 80 for (symbol_index_t i = 0; i < abfd.syms.size(); ++i) { 85 abfd.get_symbol_range(i, start, end); 100 symb_entry.name = symbol_names.create(abfd.syms[i].name()); 106 if (abfd.get_linenr(i, start, filename, 116 symb_entry.sample.vma = abfd.syms[i].vma(); 121 image_names.create(abfd.get_embedding_filename()); 128 add_samples(abfd, i, p_it, symbol, pclass, start); 134 profile_container::add_samples(op_bfd const & abfd, symbol_index_ argument 73 add(profile_t const & profile, op_bfd const & abfd, string const & app_name, size_t pclass) argument [all...] |
H A D | format_output.cpp | 658 xml_formatter::get_bfd_object(symbol_entry const * symb, op_bfd * & abfd) const 670 if (abfd && abfd->get_filename() == tmp) 672 delete abfd; 673 abfd = new op_bfd(symb->spu_offset, tmp, 676 if (abfd && abfd->get_filename() == image_name) 678 delete abfd; 679 abfd = new op_bfd(image_name, symbol_filter, 687 delete abfd; 696 output_the_symbol_data(ostream & out, symbol_entry const * symb, op_bfd * & abfd) argument 737 output_cg_children(ostream & out, cg_symbol::children const cg_symb, op_bfd * & abfd) argument 759 op_bfd * abfd = NULL; local [all...] |
H A D | xml_utils.cpp | 374 size_t sym_id, op_bfd const & abfd) 378 if (abfd.get_symbol_contents(symb->sym_index, contents.get())) { 373 output_symbol_bytes(ostream & out, symbol_entry const * symb, size_t sym_id, op_bfd const & abfd) argument
|
/external/oprofile/libutil++/ |
H A D | bfd_support.h | 27 bfd_info() : abfd(0), nr_syms(0), synth_syms(0), image_bfd_info(0) {} 31 /// close the BFD, setting abfd to NULL 35 bool valid() const { return abfd; } 44 bfd * abfd; member in struct:bfd_info
|
H A D | bfd_spu_support.cpp | 68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, argument 75 /* Checking abfd isn't really necessary, except to silence 76 * compile warning. In fact, abfd will always be non-NULL. 78 if (abfd)
|
H A D | bfd_support.cpp | 226 void fixup_linenr(bfd * abfd, asection * section, asymbol ** syms, argument 242 size_t section_size = bfd_section_size(abfd, section); 247 bool ret = bfd_find_nearest_line(abfd, section, syms, pc + i, 413 for (asection const * sect = abfd->sections; sect; sect = sect->next) { 431 if (abfd) 432 bfd_close(abfd); 455 bfd * image_bfd = image_bfd_info->abfd; 480 if (sym->section->owner && sym->section->owner == abfd) { 508 bool is_elf64_powerpc_target = (abfd->xvec == &bfd_elf64_powerpc_vec) 509 || (abfd 616 bfd * abfd; local [all...] |
/external/oprofile/opjitconv/ |
H A D | create_bfd.c | 75 asection * create_section(bfd * abfd, char const * section_name, argument 81 section = bfd_make_section(abfd, section_name); 86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) { 90 if (bfd_set_section_size(abfd, section, size) == FALSE) { 94 if (bfd_set_section_flags(abfd, section, flags) == FALSE) { 133 int fill_section_content(bfd * abfd, asection * section, argument 136 if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) { 252 bfd * abfd; local 254 abfd = bfd_openw(filename, dump_bfd_target_name); 255 if (!abfd) { [all...] |
H A D | debug_line.c | 440 int init_debug_line_info(bfd * abfd) argument 477 line_section = create_section(abfd, ".debug_line", b_line.size, 0, 482 debug_info = create_section(abfd, ".debug_info", b_debug_info.size, 0, 487 debug_abbrev = create_section(abfd, ".debug_abbrev", 497 int finalize_debug_line_info(bfd * abfd) argument 501 line_section = bfd_get_section_by_name(abfd, ".debug_line"); 505 debug_info = bfd_get_section_by_name(abfd, ".debug_info"); 510 debug_abbrev = bfd_get_section_by_name(abfd, ".debug_abbrev"); 514 fill_section_content(abfd, line_section, b_line.p, 0, b_line.size); 515 fill_section_content(abfd, debug_inf [all...] |
/external/oprofile/pp/ |
H A D | opgprof.cpp | 44 void op_write_vma(FILE * fp, op_bfd const & abfd, bfd_vma vma) argument 48 switch (abfd.bfd_arch_bits_per_address()) { 86 * @param abfd bfd object 108 void output_cg(FILE * fp, op_bfd const & abfd, profile_t const & cg_db) argument 113 offset = abfd.get_start_offset(0); 123 op_write_vma(fp, abfd, abfd.offset_to_pc(from + offset)); 124 op_write_vma(fp, abfd, abfd.offset_to_pc(to + offset)); 136 void output_gprof(op_bfd const & abfd, profile_containe argument 230 load_samples(op_bfd const & abfd, list<profile_sample_files> const & files, string const & image, profile_container & samples) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | trace.c | 46 bfd *abfd; local 49 abfd = bfd_openr(prg_fname, NULL); 50 if (abfd == NULL) { 55 if (bfd_check_format(abfd, bfd_archive)) { 57 bfd_close(abfd); 61 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 64 bfd_close(abfd); 68 return abfd; 72 static void read_syms(bfd *abfd) argument 80 if (!(bfd_get_file_flags(abfd) 124 find_addr_sect(bfd *abfd, asection *section, void *obj) argument 154 bfd *abfd = cached_abfd; local 198 bfd *abfd = cached_abfd; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | trace.c | 46 bfd *abfd; local 49 abfd = bfd_openr(prg_fname, NULL); 50 if (abfd == NULL) { 55 if (bfd_check_format(abfd, bfd_archive)) { 57 bfd_close(abfd); 61 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 64 bfd_close(abfd); 68 return abfd; 72 static void read_syms(bfd *abfd) argument 80 if (!(bfd_get_file_flags(abfd) 124 find_addr_sect(bfd *abfd, asection *section, void *obj) argument 154 bfd *abfd = cached_abfd; local 198 bfd *abfd = cached_abfd; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | trace.c | 46 bfd *abfd; local 49 abfd = bfd_openr(prg_fname, NULL); 50 if (abfd == NULL) { 55 if (bfd_check_format(abfd, bfd_archive)) { 57 bfd_close(abfd); 61 if (!bfd_check_format_matches(abfd, bfd_object, &matching)) { 64 bfd_close(abfd); 68 return abfd; 72 static void read_syms(bfd *abfd) argument 80 if (!(bfd_get_file_flags(abfd) 124 find_addr_sect(bfd *abfd, asection *section, void *obj) argument 154 bfd *abfd = cached_abfd; local 198 bfd *abfd = cached_abfd; local [all...] |