Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DBacktraceMap.cpp32 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);
DUnwindMap.cpp36 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()
DBacktrace.cpp40 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()
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_offline_test.cpp155 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()
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.h30 class UnwindMap : public BacktraceMap {
Dbacktrace_test.cpp239 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 …]
DBacktraceOffline.h47 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()
DAndroid.bp71 "BacktraceMap.cpp",
DBacktraceOffline.cpp268 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/
DBacktraceMap.h49 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_;
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,
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/
Dbacktrace.h29 class BacktraceMap; variable
33 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_nam…
Dtombstone.h29 class BacktraceMap; variable
38 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, const OpenFilesList* open_files,
/system/core/debuggerd/libdebuggerd/test/
DBacktraceMock.h31 class BacktraceMapMock : public BacktraceMap {
33 BacktraceMapMock() : BacktraceMap(0) {} in BacktraceMapMock()
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp63 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()
Dtombstone.cpp283 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/
Ddwarf_unwind.cpp125 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps)); in UnwindCallChain()
/system/core/debuggerd/
Dcrash_dump.cpp305 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(main_tid)); in main()