Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dthread_tree.cpp30 if (map1->start_addr != map2->start_addr) { in operator ()()
31 return map1->start_addr < map2->start_addr; in operator ()()
83 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, in AddKernelMap() argument
90 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddKernelMap()
111 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddThreadMap() argument
115 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddThreadMap()
138 if ((*it)->start_addr >= map->get_end_addr()) { in FixOverlappedMap()
142 if ((*it)->get_end_addr() <= map->start_addr) { in FixOverlappedMap()
146 if (old->start_addr < map->start_addr) { in FixOverlappedMap()
147 MapEntry* before = AllocateMap(MapEntry(old->start_addr, map->start_addr - old->start_addr, in FixOverlappedMap()
[all …]
Denvironment.cpp165 map.start_addr = addr; in GetLoadedModules()
219 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps()
229 kernel_mmap->len = std::numeric_limits<unsigned long long>::max() - kernel_mmap->start_addr; in GetKernelAndModuleMmaps()
233 [](const KernelMmap& m1, const KernelMmap& m2) { return m1.start_addr < m2.start_addr; }); in GetKernelAndModuleMmaps()
235 if (kernel_mmap->start_addr == (*module_mmaps)[0].start_addr) { in GetKernelAndModuleMmaps()
238 kernel_mmap->len = (*module_mmaps)[0].start_addr - kernel_mmap->start_addr - 1; in GetKernelAndModuleMmaps()
241 if ((*module_mmaps)[i].start_addr == (*module_mmaps)[i + 1].start_addr) { in GetKernelAndModuleMmaps()
245 (*module_mmaps)[i + 1].start_addr - (*module_mmaps)[i].start_addr - 1; in GetKernelAndModuleMmaps()
249 std::numeric_limits<unsigned long long>::max() - module_mmaps->back().start_addr; in GetKernelAndModuleMmaps()
340 uint64_t start_addr, end_addr, pgoff; in GetThreadMmapsInProcess() local
[all …]
Dthread_tree.h31 uint64_t start_addr; member
37 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, Dso* dso) in MapEntry()
38 : start_addr(start_addr), len(len), pgoff(pgoff), time(time), dso(dso) { in MapEntry()
44 return start_addr + len; in get_end_addr()
70 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time,
72 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, uint64_t pgoff,
Dsample_tree_test.cpp39 ASSERT_EQ(expected.map_start_addr, sample.map->start_addr); in SampleMatchExpectation()
66 if (sample1.map->start_addr != sample2.map->start_addr) { in CompareSampleFunction()
67 return sample1.map->start_addr - sample2.map->start_addr; in CompareSampleFunction()
Denvironment.h36 uint64_t start_addr; member
53 uint64_t start_addr; member
Ddwarf_unwind.cpp115 bt_map.start = map->start_addr; in UnwindCallChain()
116 bt_map.end = map->start_addr + map->len; in UnwindCallChain()
Dcmd_record.cpp539 MmapRecord mmap_record = CreateMmapRecord(*attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelAndModuleMmaps()
545 MmapRecord mmap_record = CreateMmapRecord(*attr, true, UINT_MAX, 0, module_mmap.start_addr, in DumpKernelAndModuleMmaps()
597 CreateMmapRecord(*attr, false, thread.pid, thread.tid, thread_mmap.start_addr, in DumpThreadCommAndMmaps()
/system/extras/perfprofd/quipper/
Dperf_reader.cc1623 char* start_addr = reinterpret_cast<char*>(event); in LocalizeMMapFilenames() local
1624 memmove(start_addr + new_offset, start_addr + old_offset, sample_size); in LocalizeMMapFilenames()