/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 28 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap() function in BacktraceMap 34 BacktraceMap::~BacktraceMap() { in ~BacktraceMap() 37 void BacktraceMap::FillIn(uintptr_t addr, backtrace_map_t* map) { in FillIn() 38 for (BacktraceMap::const_iterator it = begin(); in FillIn() 48 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) { 96 bool BacktraceMap::Build() { 135 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { 136 BacktraceMap* map = new BacktraceMap(pid); 145 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) { 146 BacktraceMap* backtrace_map = new BacktraceMap(pid);
|
D | UnwindMap.cpp | 35 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) { in UnwindMap() 126 BacktraceMap::FillIn(addr, map); in FillIn() 132 BacktraceMap::FillIn(addr, map); in FillIn() 141 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create() 142 BacktraceMap* map; in Create() 146 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() 79 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData() 80 relative_pc = BacktraceMap::GetRelativePc(frame->map, frame->pc); in FormatFrameData() 119 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_test.cpp | 230 if (BacktraceMap::IsValid(frame.map)) { in TEST() 317 std::unique_ptr<BacktraceMap> map; in VerifyProcTest() 319 map.reset(BacktraceMap::Create(pid)); in VerifyProcTest() 732 BacktraceMap* map1 = BacktraceMap::Create(getpid()); in TEST() 733 BacktraceMap* map2 = BacktraceMap::Create(getpid()); in TEST() 734 BacktraceMap* map3 = BacktraceMap::Create(getpid()); in TEST() 759 BacktraceMap* back_map = BacktraceMap::Create(getpid()); in TEST() 770 ASSERT_FALSE(BacktraceMap::IsValid(map)); in TEST() 896 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(pid)); in VerifyMap() 900 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in VerifyMap() [all …]
|
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 | 29 class UnwindMap : public BacktraceMap {
|
D | Android.mk | 50 BacktraceMap.cpp \ 224 BacktraceMap.cpp \
|
D | backtrace_offline_test.cpp | 101 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid())); in OfflineBacktraceFunctionCall()
|
D | BacktraceOffline.h | 62 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 | BacktraceOffline.cpp | 231 if (!BacktraceMap::IsValid(map)) { in FindProcInfo() 757 Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map, in CreateOffline()
|
/system/core/include/backtrace/ |
D | BacktraceMap.h | 45 class BacktraceMap { 50 static BacktraceMap* Create(pid_t pid, bool uncached = false); 52 static BacktraceMap* Create(pid_t pid, const std::vector<backtrace_map_t>& maps); 54 virtual ~BacktraceMap(); 97 BacktraceMap(pid_t pid);
|
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, 146 BacktraceMap* GetMap() { return map_; } in GetMap() 153 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map); 166 BacktraceMap* map_;
|
/system/core/debuggerd/ |
D | tombstone.h | 26 class BacktraceMap; variable 35 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid,
|
D | backtrace.h | 28 class BacktraceMap; variable 32 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid,
|
D | backtrace.cpp | 71 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid) { in dump_thread() 100 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, in dump_backtrace()
|
D | tombstone.cpp | 257 if (BacktraceMap::IsValid(map) && !map.name.empty()) { in dump_stack_segment() 359 static void dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, pid_t tid) { in dump_all_maps() 384 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) { in dump_all_maps() 447 static void dump_thread(log_t* log, pid_t pid, pid_t tid, BacktraceMap* map, int signal, in dump_thread() 607 static void dump_crash(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid, in dump_crash() 687 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid, in engrave_tombstone()
|
D | debuggerd.cpp | 456 BacktraceMap* backtrace_map, const std::set<pid_t>& siblings, in perform_dump() 594 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(request.pid)); in worker_process()
|
/system/core/debuggerd/test/ |
D | BacktraceMock.h | 31 class BacktraceMapMock : public BacktraceMap { 33 BacktraceMapMock() : BacktraceMap(0) {} in BacktraceMapMock()
|
/system/extras/simpleperf/ |
D | dwarf_unwind.cpp | 120 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps)); in UnwindCallChain()
|