Home
last modified time | relevance | path

Searched refs:AllocEntry (Results 1 – 14 of 14) 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/
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_;
DAlloc.cpp27 bool AllocDoesFree(const AllocEntry& entry) { in AllocDoesFree()
43 static uint64_t MallocExecute(const AllocEntry& entry, Pointers* pointers) { in MallocExecute()
55 static uint64_t CallocExecute(const AllocEntry& entry, Pointers* pointers) { in CallocExecute()
67 static uint64_t ReallocExecute(const AllocEntry& entry, Pointers* pointers) { in ReallocExecute()
84 static uint64_t MemalignExecute(const AllocEntry& entry, Pointers* pointers) { in MemalignExecute()
96 static uint64_t FreeExecute(const AllocEntry& entry, Pointers* pointers) { in FreeExecute()
107 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers) { in AllocExecute()
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);
DFile.cpp80 void GetUnwindInfo(const char* filename, AllocEntry** entries, size_t* num_entries) { in GetUnwindInfo()
126 mem = mmap(nullptr, *num_entries * sizeof(AllocEntry), PROT_READ | PROT_WRITE, in GetUnwindInfo()
129 err(1, "Unable to allocate a shared map of size %zu", *num_entries * sizeof(AllocEntry)); in GetUnwindInfo()
131 *entries = reinterpret_cast<AllocEntry*>(mem); in GetUnwindInfo()
170 void FreeEntries(AllocEntry* entries, size_t num_entries) { in FreeEntries()
171 munmap(entries, num_entries * sizeof(AllocEntry)); in FreeEntries()
DAlloc.h24 bool AllocDoesFree(const AllocEntry& entry);
26 uint64_t AllocExecute(const AllocEntry& entry, Pointers* pointers);
DAllocParser.h32 struct AllocEntry { struct
46 void AllocGetData(const std::string& line, AllocEntry* entry); argument
Dmain.cpp42 static size_t GetMaxAllocs(const AllocEntry* entries, size_t num_entries) { in GetMaxAllocs()
112 static void ProcessDump(const AllocEntry* entries, size_t num_entries, size_t max_threads) { in ProcessDump()
131 const AllocEntry& entry = entries[i]; in ProcessDump()
226 AllocEntry* entries; in main()
DFilterTrace.cpp111 static void PrintEntry(const AllocEntry& entry, size_t size, bool print_trace_format) { in PrintEntry()
146 AllocEntry* entries; in ProcessTrace()
162 const AllocEntry& entry = entries[i]; in ProcessTrace()
DThreads.cpp38 const AllocEntry& entry = thread->GetAllocEntry(); in ThreadRunner()
146 AllocEntry thread_done = {.type = THREAD_DONE}; in FinishAll()
DAllocParser.cpp25 void AllocGetData(const std::string& line, AllocEntry* entry) { in AllocGetData()
DTraceBenchmark.cpp43 AllocEntry* entries = nullptr;
102 AllocEntry* entry = &trace_data->entries[i]; in GetTraceData()
159 const AllocEntry& entry = trace_data->entries[i]; in RunTrace()