Home
last modified time | relevance | path

Searched refs:start_addr (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
Denvironment.cpp133 map.start_addr = addr; in GetLoadedModules()
139 if (map.start_addr != 0) { in GetLoadedModules()
187 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps()
197 kernel_mmap->len = std::numeric_limits<uint64_t>::max() - kernel_mmap->start_addr; in GetKernelAndModuleMmaps()
201 [](const KernelMmap& m1, const KernelMmap& m2) { return m1.start_addr < m2.start_addr; }); in GetKernelAndModuleMmaps()
203 if (kernel_mmap->start_addr == (*module_mmaps)[0].start_addr) { in GetKernelAndModuleMmaps()
206 kernel_mmap->len = (*module_mmaps)[0].start_addr - kernel_mmap->start_addr - 1; in GetKernelAndModuleMmaps()
209 if ((*module_mmaps)[i].start_addr == (*module_mmaps)[i + 1].start_addr) { in GetKernelAndModuleMmaps()
213 (*module_mmaps)[i + 1].start_addr - (*module_mmaps)[i].start_addr - 1; in GetKernelAndModuleMmaps()
217 std::numeric_limits<uint64_t>::max() - module_mmaps->back().start_addr; in GetKernelAndModuleMmaps()
[all …]
Dthread_tree.cpp33 if (map1->start_addr != map2->start_addr) { in operator ()()
34 return map1->start_addr < map2->start_addr; in operator ()()
102 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument
110 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, true)); in AddKernelMap()
129 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, in AddThreadMap() argument
135 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, false)); in AddThreadMap()
158 if ((*it)->start_addr >= map->get_end_addr()) { in FixOverlappedMap()
162 if ((*it)->get_end_addr() <= map->start_addr) { in FixOverlappedMap()
166 if (old->start_addr < map->start_addr) { in FixOverlappedMap()
168 MapEntry(old->start_addr, map->start_addr - old->start_addr, in FixOverlappedMap()
[all …]
Dthread_tree.h38 uint64_t start_addr; member
45 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, in MapEntry()
47 : start_addr(start_addr), in MapEntry()
55 uint64_t get_end_addr() const { return start_addr + len; } in get_end_addr()
92 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff,
94 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len,
Denvironment.h41 uint64_t start_addr; member
49 uint64_t start_addr; member
Dinplace_sampler_lib.cpp273 auto it = maps_.find(map.start_addr); in CheckMapChange()
276 maps_[map.start_addr] = map; in CheckMapChange()
284 MoveToBinaryFormat(map.start_addr, p); in CheckMapChange()
Ddwarf_unwind.cpp120 bt_map.start = map->start_addr; in UnwindCallChain()
121 bt_map.end = map->start_addr + map->len; in UnwindCallChain()
Dreport_lib_interface.cpp325 mapping->start = map.start_addr; in AddMapping()
326 mapping->end = map.start_addr + map.len; in AddMapping()
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Dcmd_record.cpp686 MmapRecord mmap_record(attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelAndModuleMmaps()
692 MmapRecord mmap_record(attr, true, UINT_MAX, 0, module_mmap.start_addr, in DumpKernelAndModuleMmaps()
741 MmapRecord record(attr, false, pid, pid, map.start_addr, map.len, in DumpThreadCommAndMmaps()
/system/extras/perfprofd/quipper/
Dperf_reader.cc1687 char* start_addr = reinterpret_cast<char*>(event); in LocalizeMMapFilenames() local
1688 memmove(start_addr + new_offset, start_addr + old_offset, sample_size); in LocalizeMMapFilenames()