/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 32 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap() function in BacktraceMap 38 BacktraceMap::~BacktraceMap() { in ~BacktraceMap() 41 void BacktraceMap::FillIn(uintptr_t addr, backtrace_map_t* map) { in FillIn() 43 for (BacktraceMap::const_iterator it = begin(); it != end(); ++it) { in FillIn() 52 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) { 100 bool BacktraceMap::Build() { 139 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { 140 BacktraceMap* map = new BacktraceMap(pid); 149 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) { 150 BacktraceMap* backtrace_map = new BacktraceMap(pid);
|
D | UnwindMap.cpp | 36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap() 138 BacktraceMap::FillIn(addr, map); in FillIn() 144 BacktraceMap::FillIn(addr, map); in FillIn() 153 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create() 154 BacktraceMap* map; in Create() 158 map = new BacktraceMap(pid); in Create()
|
D | Backtrace.cpp | 40 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace() 43 map_ = BacktraceMap::Create(pid); in Backtrace() 88 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData() 89 relative_pc = BacktraceMap::GetRelativePc(frame->map, frame->pc); in FormatFrameData() 128 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
|
D | BacktracePtrace.h | 25 class BacktraceMap; variable 29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
|
D | BacktraceCurrent.h | 36 class BacktraceMap; variable 40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktraceCurrent()
|
D | BacktraceCurrent.cpp | 46 if (BacktraceMap::IsValid(map) && map.flags & PROT_READ) { in ReadWord() 59 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read() 87 if (BacktraceMap::IsValid(frame.map)) { in DiscardFrame()
|
D | BacktracePtrace.cpp | 57 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in ReadWord() 72 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()
|
D | backtrace_offline_test.cpp | 155 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid())); in TEST() 308 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(testdata.pid, testdata.maps)); in BacktraceOfflineTest() 382 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(testdata.pid, testdata.maps)); in TEST()
|
D | UnwindPtrace.h | 34 UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map);
|
D | UnwindCurrent.h | 36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} in UnwindCurrent()
|
D | UnwindMap.h | 30 class UnwindMap : public BacktraceMap {
|
D | backtrace_test.cpp | 239 if (BacktraceMap::IsValid(frame.map)) { in TEST() 324 std::unique_ptr<BacktraceMap> map; in VerifyProcTest() 326 map.reset(BacktraceMap::Create(pid)); in VerifyProcTest() 735 BacktraceMap* map1 = BacktraceMap::Create(getpid()); in TEST() 736 BacktraceMap* map2 = BacktraceMap::Create(getpid()); in TEST() 737 BacktraceMap* map3 = BacktraceMap::Create(getpid()); in TEST() 762 BacktraceMap* back_map = BacktraceMap::Create(getpid()); in TEST() 773 ASSERT_FALSE(BacktraceMap::IsValid(map)); in TEST() 897 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(pid)); in VerifyMap() 902 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in VerifyMap() [all …]
|
D | BacktraceOffline.h | 47 BacktraceOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack, in BacktraceOffline()
|
D | UnwindPtrace.cpp | 31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindPtrace()
|
D | Android.bp | 71 "BacktraceMap.cpp",
|
D | BacktraceOffline.cpp | 268 if (!BacktraceMap::IsValid(map)) { in FindProcInfo() 882 Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map, in CreateOffline()
|
/system/core/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 49 class BacktraceMap { 54 static BacktraceMap* Create(pid_t pid, bool uncached = false); 56 static BacktraceMap* Create(pid_t pid, const std::vector<backtrace_map_t>& maps); 58 virtual ~BacktraceMap(); 107 BacktraceMap(pid_t pid); 117 explicit ScopedBacktraceMapIteratorLock(BacktraceMap* map) : map_(map) { in ScopedBacktraceMapIteratorLock() 126 BacktraceMap* map_;
|
D | Backtrace.h | 91 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = NULL); 98 static Backtrace* CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map, 148 BacktraceMap* GetMap() { return map_; } in GetMap() 155 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map); 168 BacktraceMap* map_;
|
/system/core/debuggerd/libdebuggerd/include/ |
D | backtrace.h | 29 class BacktraceMap; variable 33 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_nam…
|
D | tombstone.h | 29 class BacktraceMap; variable 38 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, const OpenFilesList* open_files,
|
/system/core/debuggerd/libdebuggerd/test/ |
D | BacktraceMock.h | 31 class BacktraceMapMock : public BacktraceMap { 33 BacktraceMapMock() : BacktraceMap(0) {} in BacktraceMapMock()
|
/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 63 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, in dump_thread() 76 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_nam… in dump_backtrace()
|
D | tombstone.cpp | 283 if (BacktraceMap::IsValid(map) && !map.name.empty()) { in dump_stack_segment() 385 static void dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, pid_t tid) { in dump_all_maps() 411 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in dump_all_maps() 479 const std::string& thread_name, BacktraceMap* map, in dump_thread() 640 static void dump_crash(log_t* log, BacktraceMap* map, const OpenFilesList* open_files, pid_t pid, in dump_crash() 728 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, const OpenFilesList* open_files, in engrave_tombstone()
|
/system/extras/simpleperf/ |
D | dwarf_unwind.cpp | 125 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps)); in UnwindCallChain()
|
/system/core/debuggerd/ |
D | crash_dump.cpp | 305 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(main_tid)); in main()
|