Home
last modified time | relevance | path

Searched refs:BacktraceMap (Results 1 – 25 of 25) sorted by relevance

/system/core/libbacktrace/
DBacktraceMap.cpp28 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);
DUnwindMap.cpp35 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()
DBacktrace.cpp40 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()
DBacktracePtrace.h25 class BacktraceMap; variable
29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
DBacktraceCurrent.h36 class BacktraceMap; variable
40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktraceCurrent()
DBacktraceCurrent.cpp46 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()
DBacktracePtrace.cpp57 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in ReadWord()
72 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()
Dbacktrace_test.cpp230 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 …]
DUnwindPtrace.h34 UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map);
DUnwindCurrent.h36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {} in UnwindCurrent()
DUnwindMap.h29 class UnwindMap : public BacktraceMap {
DAndroid.mk50 BacktraceMap.cpp \
224 BacktraceMap.cpp \
Dbacktrace_offline_test.cpp101 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid())); in OfflineBacktraceFunctionCall()
DBacktraceOffline.h62 BacktraceOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack, in BacktraceOffline()
DUnwindPtrace.cpp31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindPtrace()
DBacktraceOffline.cpp231 if (!BacktraceMap::IsValid(map)) { in FindProcInfo()
757 Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map, in CreateOffline()
/system/core/include/backtrace/
DBacktraceMap.h45 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);
DBacktrace.h91 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/
Dtombstone.h26 class BacktraceMap; variable
35 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid,
Dbacktrace.h28 class BacktraceMap; variable
32 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid,
Dbacktrace.cpp71 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()
Dtombstone.cpp257 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()
Ddebuggerd.cpp456 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/
DBacktraceMock.h31 class BacktraceMapMock : public BacktraceMap {
33 BacktraceMapMock() : BacktraceMap(0) {} in BacktraceMapMock()
/system/extras/simpleperf/
Ddwarf_unwind.cpp120 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps)); in UnwindCallChain()