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

/system/core/libbacktrace/
H A DBacktraceMap.cpp23 #include <backtrace/BacktraceMap.h>
28 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { function in class:BacktraceMap
34 BacktraceMap::~BacktraceMap() {
37 void BacktraceMap::FillIn(uintptr_t addr, backtrace_map_t* map) {
39 for (BacktraceMap::const_iterator it = begin(); it != end(); ++it) {
48 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) {
96 bool BacktraceMap::Build() {
135 BacktraceMap* BacktraceMa
[all...]
H A DBacktracePtrace.h25 class BacktraceMap;
29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {}
H A DUnwindMap.cpp23 #include <backtrace/BacktraceMap.h>
36 UnwindMap::UnwindMap(pid_t pid) : BacktraceMap(pid) {
49 // Use the map_cursor information to construct the BacktraceMap data
138 BacktraceMap::FillIn(addr, map);
144 BacktraceMap::FillIn(addr, map);
151 // BacktraceMap create function.
153 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) {
154 BacktraceMap* map;
158 map = new BacktraceMap(pi
[all...]
H A DBacktraceCurrent.h36 class BacktraceMap;
40 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {}
H A DUnwindCurrent.h27 #include <backtrace/BacktraceMap.h>
36 UnwindCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : BacktraceCurrent(pid, tid, map) {}
H A DUnwindMap.h24 #include <backtrace/BacktraceMap.h>
30 class UnwindMap : public BacktraceMap {
H A DBacktrace.cpp28 #include <backtrace/BacktraceMap.h>
40 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map)
43 map_ = BacktraceMap::Create(pid);
79 if (BacktraceMap::IsValid(frame->map)) {
80 relative_pc = BacktraceMap::GetRelativePc(frame->map, frame->pc);
119 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) {
H A DUnwindPtrace.h34 UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map);
H A DBacktracePtrace.cpp27 #include <backtrace/BacktraceMap.h>
57 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) {
72 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) {
H A DBacktraceCurrent.cpp32 #include <backtrace/BacktraceMap.h>
46 if (BacktraceMap::IsValid(map) && map.flags & PROT_READ) {
59 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) {
87 if (BacktraceMap::IsValid(frame.map)) {
H A DUnwindPtrace.cpp25 #include <backtrace/BacktraceMap.h>
31 UnwindPtrace::UnwindPtrace(pid_t pid, pid_t tid, BacktraceMap* map)
H A DAndroid.mk50 BacktraceMap.cpp \
224 BacktraceMap.cpp \
H A Dbacktrace_offline_test.cpp13 #include <backtrace/BacktraceMap.h>
101 std::unique_ptr<BacktraceMap> map(BacktraceMap::Create(getpid()));
H A Dbacktrace_test.cpp43 #include <backtrace/BacktraceMap.h>
230 if (BacktraceMap::IsValid(frame.map)) {
317 std::unique_ptr<BacktraceMap> map;
319 map.reset(BacktraceMap::Create(pid));
732 BacktraceMap* map1 = BacktraceMap::Create(getpid());
733 BacktraceMap* map2 = BacktraceMap::Create(getpid());
734 BacktraceMap* map3 = BacktraceMap
[all...]
H A DBacktraceOffline.h62 BacktraceOffline(pid_t pid, pid_t tid, BacktraceMap* map, const backtrace_stackinfo_t& stack,
H A DBacktraceOffline.cpp38 #include <backtrace/BacktraceMap.h>
231 if (!BacktraceMap::IsValid(map)) {
757 Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map,
/system/core/debuggerd/
H A Dbacktrace.h28 class BacktraceMap;
32 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid,
H A Dtombstone.h26 class BacktraceMap;
35 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid,
H A Dbacktrace.cpp71 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid) {
100 void dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid,
H A Dtombstone.cpp44 #include <backtrace/BacktraceMap.h>
257 if (BacktraceMap::IsValid(map) && !map.name.empty()) {
359 static void dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, pid_t tid) {
385 for (BacktraceMap::const_iterator it = map->begin(); it != map->end(); ++it) {
448 static void dump_thread(log_t* log, pid_t pid, pid_t tid, BacktraceMap* map, int signal,
608 static void dump_crash(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid,
688 void engrave_tombstone(int tombstone_fd, BacktraceMap* map, pid_t pid, pid_t tid,
H A Ddebuggerd.cpp484 BacktraceMap* backtrace_map, const std::set<pid_t>& siblings,
644 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(request.pid));
/system/core/include/backtrace/
H A DBacktraceMap.h45 class BacktraceMap { class
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();
103 BacktraceMap(pid_t pid);
113 explicit ScopedBacktraceMapIteratorLock(BacktraceMap* map) : map_(map) {
122 BacktraceMap* map_;
H A DBacktrace.h27 #include <backtrace/BacktraceMap.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_; }
153 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
166 BacktraceMap* map_;
/system/core/debuggerd/test/
H A DBacktraceMock.h29 #include <backtrace/BacktraceMap.h>
31 class BacktraceMapMock : public BacktraceMap {
33 BacktraceMapMock() : BacktraceMap(0) {}
/system/extras/simpleperf/
H A Ddwarf_unwind.cpp120 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(thread.pid, bt_maps));

Completed in 109 milliseconds