Searched refs:vma (Results 1 - 25 of 46) sorted by relevance

12

/external/oprofile/libopagent/
H A Dopagent.h38 unsigned long vma; member in struct:debug_line_info
76 * vma: The virtual memory address of the executable code.
79 * that given by the vma argument. For some JIT compilers,
90 uint64_t vma, void const * code,
117 * vma: The virtual memory address of the compiled code being unloaded.
118 * An op_write_native_code() with the same vma should have
124 int op_unload_native_code(op_agent_t hdl, uint64_t vma);
H A Djitdump.h69 u64 vma; member in struct:jr_code_load
80 u64 vma; member in struct:jr_code_unload
H A Dopagent.c222 uint64_t vma, void const * code, unsigned int const size)
240 rec.vma = vma;
320 if (!fwrite_unlocked(&compile_map[i].vma,
321 sizeof(compile_map[i].vma), 1,
354 int op_unload_native_code(op_agent_t hdl, uint64_t vma) argument
367 rec.vma = vma;
221 op_write_native_code(op_agent_t hdl, char const * symbol_name, uint64_t vma, void const * code, unsigned int const size) argument
/external/oprofile/libpp/
H A Dsymbol_functors.cpp26 if (lhs.sample.vma != rhs.sample.vma)
27 return lhs.sample.vma < rhs.sample.vma;
H A Dsymbol_sort.h29 vma, enumerator in enum:sort_options::sort_order
H A Dsymbol_sort.cpp64 case sort_options::vma:
65 if (lhs.sample.vma < rhs.sample.vma)
67 if (lhs.sample.vma > rhs.sample.vma)
167 if (name == "vma") {
168 options.push_back(vma);
H A Dsymbol.cpp26 // FIXME: see comment in symbol.h: why we don't use sample.vma + size ?
27 if (sample.vma & ~0xffffffffLLU)
H A Dprofile_container.cpp70 // the symbols/samples are sorted by increasing vma.
116 symb_entry.sample.vma = abfd.syms[i].vma();
139 bfd_vma base_vma = abfd.syms[sym_index].vma();
150 if (abfd.get_linenr(sym_index, it.vma(), filename,
157 sample.vma = (it.vma() - start) + base_vma;
256 profile_container::find_symbol(string const & image_name, bfd_vma vma) const
258 return symbols->find_by_vma(image_name, vma);
276 profile_container::find_sample(symbol_entry const * symbol, bfd_vma vma) cons
[all...]
H A Dsample_container.cpp69 samples_storage::key_type key(symbol, sample.vma);
101 sample_container::find_by_vma(symbol_entry const * symbol, bfd_vma vma) const
103 sample_index_t key(symbol, vma);
H A Dsymbol_container.cpp95 bfd_vma vma) const
100 if (it->sample.vma == vma &&
H A Dsample_container.h53 /// return the sample entry for the given image_name and vma if any
55 bfd_vma vma) const;
H A Dsymbol_container.h55 /// find the symbol with the given image_name vma if any
57 bfd_vma vma) const;
H A Dprofile_container.h69 /// Find a symbol from its image_name, vma, return zero if no symbol
70 /// for this image at this vma
72 bfd_vma vma) const;
79 /// Find a sample by its symbol, vma, return zero if there is no sample
80 /// at this vma
82 bfd_vma vma) const;
114 /// Like select_symbols for filename without allowing sort by vma.
165 /// The symbols collected by pp tools sorted by increased vma, provide
168 /// The samples count collected by pp tools sorted by increased vma,
H A Dsymbol.h49 /// associate vma address with a file location and a samples count
51 sample_entry() : vma(0) {}
55 bfd_vma vma; member in struct:sample_entry
61 /// associate a symbol with a file location, samples count and vma address
75 /// file location, vma and cumulated samples count for this symbol
79 /// symbol size as calculated by op_bfd, start of symbol is sample.vma
/external/chromium_org/tools/find_runtime_symbols/
H A Dfind_runtime_symbols.py49 for vma in self._maps.iter(ProcMaps.executable):
50 if vma.begin <= runtime_address < vma.end:
51 static_symbols = self._static_symbols_in_filse.get(vma.name)
54 runtime_address, vma)
60 for vma in self._maps.iter(ProcMaps.executable):
61 if vma.begin <= runtime_address < vma.end:
62 static_symbols = self._static_symbols_in_filse.get(vma.name)
65 runtime_address, vma)
[all...]
H A Dstatic_symbols.py139 def _find_symbol_by_runtime_address(self, address, vma, target):
140 if not (vma.begin <= address < vma.end):
143 if vma.name != self.my_name:
146 file_offset = address - (vma.begin - vma.offset)
156 def find_procedure_by_runtime_address(self, address, vma):
157 return self._find_symbol_by_runtime_address(address, vma, self._procedures)
159 def find_sourcefile_by_runtime_address(self, address, vma):
160 return self._find_symbol_by_runtime_address(address, vma, sel
[all...]
/external/oprofile/opjitconv/
H A Djitsymbol.c80 if (a0->vma < b0->vma)
82 if (a0->vma == b0->vma)
98 if (entries_address_ascending[i]->vma)
171 * writing a 0 address as magic vma and sorting
177 e->vma, e->symbol_name);
178 e->vma = 0;
245 unsigned long long start_addr_keep = keep->vma;
246 unsigned long long end_addr_keep = keep->vma
[all...]
H A Dcreate_bfd.c58 s->value = e->vma - section->vma;
76 size_t size, bfd_vma vma, flagword flags)
86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) {
113 entries_address_ascending[start_idx]->vma;
115 unsigned long long vma_end = ee->vma + ee->code_size;
152 entries_address_ascending[start_idx]->vma;
159 " vma = %llx, offset = %llx,"
163 e->vma, e->vma
75 create_section(bfd * abfd, char const * section_name, size_t size, bfd_vma vma, flagword flags) argument
[all...]
H A Dparse_dump.c47 entry->vma = rec->vma;
66 verbprintf(debug, "record0: name=%s, vma=%llx, code_size=%i, "
68 entry->vma, entry->code_size, (unsigned long long)padding_count, entry->life_start,
91 verbprintf(debug,"record1: vma=%llx, life_end=%lli\n",
92 rec->vma, rec->timestamp);
99 if (rec->timestamp > 0 && rec->vma != 0) {
101 if (entry->vma == rec->vma &&
H A Dopjitconv.h43 /* vma */
44 unsigned long long vma; member in struct:jitentry
103 size_t size, bfd_vma vma, flagword flags);
/external/oprofile/module/
H A Dop_dname.c91 int oprof_hash_map_mmap(struct file * file, struct vm_area_struct * vma) argument
93 ulong start = (ulong)vma->vm_start;
95 ulong size = (ulong)(vma->vm_end-vma->vm_start);
97 if (size > PAGE_ALIGN(OP_HASH_MAP_SIZE) || (vma->vm_flags & VM_WRITE) || GET_VM_OFFSET(vma))
/external/oprofile/pp/
H A Dopgprof.cpp44 void op_write_vma(FILE * fp, op_bfd const & abfd, bfd_vma vma) argument
46 // bfd vma write size is a per binary property not a bfd
50 op_write_u32(fp, vma);
53 op_write_u64(fp, vma);
56 cerr << "oprofile: unknown vma size for this binary\n";
71 if (it->second.vma < min)
72 min = it->second.vma;
73 if (it->second.vma > max)
74 max = it->second.vma;
100 if (it->second.vma
[all...]
/external/oprofile/libutil++/
H A Dop_bfd.cpp61 section_vma(a->section->vma),
80 op_bfd_symbol::op_bfd_symbol(bfd_vma vma, size_t size, string const & name) argument
81 : bfd_symbol(0), symb_value(vma),
171 if (sect->vma == 0 && strcmp(sect->name, ".text"))
195 unsigned long op_bfd::get_start_offset(bfd_vma vma) const
197 if (!vma || !ibfd.valid()) {
249 // we need to ensure than for a given vma only one symbol exist else
254 if (temp != symbols.end() && (it->vma() == temp->vma()) &&
268 // between the vma o
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dtrace.c127 bfd_vma vma; local
136 vma = bfd_get_section_vma(abfd, section);
137 if (data->pc < vma)
141 if (data->pc >= vma + size)
145 data->pc - vma,
/external/wpa_supplicant_8/src/utils/
H A Dtrace.c127 bfd_vma vma; local
136 vma = bfd_get_section_vma(abfd, section);
137 if (data->pc < vma)
141 if (data->pc >= vma + size)
145 data->pc - vma,

Completed in 753 milliseconds

12