Home
last modified time | relevance | path

Searched refs:AllocEntry (Results 1 – 11 of 11) sorted by relevance

/system/extras/memory_replay/tests/
DAllocTest.cpp27 AllocEntry entry; in TEST()
38 AllocEntry entry; in TEST()
47 AllocEntry entry; in TEST()
58 AllocEntry entry; in TEST()
64 AllocEntry entry; in TEST()
75 AllocEntry entry; in TEST()
87 AllocEntry entry; in TEST()
98 AllocEntry entry; in TEST()
110 AllocEntry entry; in TEST()
121 AllocEntry entry; in TEST()
[all …]
DFileTest.cpp49 AllocEntry* entries; in TEST()
74 AllocEntry* entries; in TEST()
84 AllocEntry* entries; in TEST()
109 AllocEntry* entries; in TEST()
DThreadsTest.cpp35 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST()
70 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST()
99 std::vector<AllocEntry> mallocs(kAllocEntries); in TEST()
100 std::vector<AllocEntry> frees(kAllocEntries); in TEST()
116 AllocEntry thread_done = {.type = THREAD_DONE}; in TEST()
/system/extras/memory_replay/
DAlloc.h33 struct AllocEntry { struct
45 void AllocGetData(const std::string& line, AllocEntry* entry); argument
47 bool AllocDoesFree(const AllocEntry& entry);
49 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers);
DThread.h24 struct AllocEntry;
42 void SetAllocEntry(const AllocEntry* entry) { entry_ = entry; } in SetAllocEntry()
43 const AllocEntry& GetAllocEntry() { return *entry_; } in GetAllocEntry()
56 const AllocEntry* entry_;
DFile.h24 struct AllocEntry;
29 void GetUnwindInfo(const char* filename, AllocEntry** entries, size_t* num_entries);
31 void FreeEntries(AllocEntry* entries, size_t num_entries);
DAlloc.cpp29 void AllocGetData(const std::string& line, AllocEntry* entry) { in AllocGetData()
83 bool AllocDoesFree(const AllocEntry& entry) { in AllocDoesFree()
99 static uint64_t MallocExecute(const AllocEntry& entry, Pointers* pointers) { in MallocExecute()
111 static uint64_t CallocExecute(const AllocEntry& entry, Pointers* pointers) { in CallocExecute()
123 static uint64_t ReallocExecute(const AllocEntry& entry, Pointers* pointers) { in ReallocExecute()
140 static uint64_t MemalignExecute(const AllocEntry& entry, Pointers* pointers) { in MemalignExecute()
152 static uint64_t FreeExecute(const AllocEntry& entry, Pointers* pointers) { in FreeExecute()
163 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers) { in AllocExecute()
DFile.cpp79 void GetUnwindInfo(const char* filename, AllocEntry** entries, size_t* num_entries) { in GetUnwindInfo()
125 mem = mmap(nullptr, *num_entries * sizeof(AllocEntry), PROT_READ | PROT_WRITE, in GetUnwindInfo()
128 err(1, "Unable to allocate a shared map of size %zu", *num_entries * sizeof(AllocEntry)); in GetUnwindInfo()
130 *entries = reinterpret_cast<AllocEntry*>(mem); in GetUnwindInfo()
169 void FreeEntries(AllocEntry* entries, size_t num_entries) { in FreeEntries()
170 munmap(entries, num_entries * sizeof(AllocEntry)); in FreeEntries()
Dmain.cpp39 static size_t GetMaxAllocs(const AllocEntry* entries, size_t num_entries) { in GetMaxAllocs()
73 static void ProcessDump(const AllocEntry* entries, size_t num_entries, size_t max_threads) { in ProcessDump()
92 const AllocEntry& entry = entries[i]; in ProcessDump()
179 AllocEntry* entries; in main()
DThreads.cpp38 const AllocEntry& entry = thread->GetAllocEntry(); in ThreadRunner()
148 AllocEntry thread_done = {.type = THREAD_DONE}; in FinishAll()
DTraceBenchmark.cpp43 AllocEntry* entries = nullptr;
102 AllocEntry* entry = &trace_data->entries[i]; in GetTraceData()
159 const AllocEntry& entry = trace_data->entries[i]; in RunTrace()