Home
last modified time | relevance | path

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

/system/unwinding/libbacktrace/
DBacktraceMap.cpp43 BacktraceMap::BacktraceMap(pid_t pid) : pid_(pid) { in BacktraceMap() function in BacktraceMap
49 BacktraceMap::~BacktraceMap() {} in ~BacktraceMap()
51 void BacktraceMap::FillIn(uint64_t addr, backtrace_map_t* map) { in FillIn()
104 bool BacktraceMap::Build() { in Build()
140 BacktraceMap* BacktraceMap::Create(pid_t pid, bool /*uncached*/) { in Create()
141 BacktraceMap* map = new BacktraceMap(pid); in Create()
Dbacktrace_benchmarks.cpp69 static void CreateMap(benchmark::State& state, BacktraceMap* (*map_func)(pid_t, bool)) { in CreateMap()
134 BacktraceMap* map = map_func(pid, false); in CreateMap()
147 CreateMap(state, BacktraceMap::Create); in BM_create_map()
153 static void CreateBacktrace(benchmark::State& state, BacktraceMap* map, BacktraceCreateFn fn) { in CreateBacktrace()
161 std::unique_ptr<BacktraceMap> backtrace_map(BacktraceMap::Create(getpid())); in BM_create_backtrace()
DUnwindStackMap.cpp33 UnwindStackMap::UnwindStackMap(pid_t pid) : BacktraceMap(pid) {} in UnwindStackMap()
89 BacktraceMap::FillIn(addr, map); in FillIn()
152 BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { in Create()
153 BacktraceMap* map; in Create()
157 map = new BacktraceMap(pid); in Create()
DBacktracePtrace.h25 class BacktraceMap; variable
29 BacktracePtrace(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktracePtrace()
DBacktraceCurrent.h35 class BacktraceMap; variable
39 BacktraceCurrent(pid_t pid, pid_t tid, BacktraceMap* map) : Backtrace(pid, tid, map) {} in BacktraceCurrent()
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()
DUnwindStack.h33 UnwindStackCurrent(pid_t pid, pid_t tid, BacktraceMap* map);
43 UnwindStackPtrace(pid_t pid, pid_t tid, BacktraceMap* map);
DBacktrace.cpp41 Backtrace::Backtrace(pid_t pid, pid_t tid, BacktraceMap* map) in Backtrace()
44 map_ = BacktraceMap::Create(pid); in Backtrace()
94 if (BacktraceMap::IsValid(frame->map)) { in FormatFrameData()
130 Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) { in Create()
Dbacktrace_test.cpp86 BacktraceMap* map;
92 typedef Backtrace* (*create_func_t)(pid_t, pid_t, BacktraceMap*);
93 typedef BacktraceMap* (*map_create_func_t)(pid_t, bool);
283 if (BacktraceMap::IsValid(frame.map)) { in TEST_F()
304 if (BacktraceMap::IsValid(frame.map)) { in TEST_F()
405 std::unique_ptr<BacktraceMap> map; in VerifyProcTest()
431 Backtrace::Create, BacktraceMap::Create); in TEST_F()
445 BacktraceMap::Create); in TEST_F()
454 std::unique_ptr<BacktraceMap> map(map_create_func(bt_all->Pid(), false)); in VerifyProcessIgnoreFrames()
475 Backtrace::Create, BacktraceMap::Create); in TEST_F()
[all …]
DBacktracePtrace.cpp56 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in ReadWord()
71 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()
DBacktraceCurrent.cpp52 if (BacktraceMap::IsValid(map) && map.flags & PROT_READ) { in ReadWord()
71 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()
99 if (BacktraceMap::IsValid(frame.map)) { in DiscardFrame()
DUnwindStack.cpp45 bool Backtrace::Unwind(unwindstack::Regs* regs, BacktraceMap* back_map, in Unwind()
151 UnwindStackCurrent::UnwindStackCurrent(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackCurrent()
176 UnwindStackPtrace::UnwindStackPtrace(pid_t pid, pid_t tid, BacktraceMap* map) in UnwindStackPtrace()
DUnwindMap.h30 class UnwindMap : public BacktraceMap {
DUnwindStackMap.h41 class UnwindStackMap : public BacktraceMap {
DAndroid.bp78 "BacktraceMap.cpp",
/system/unwinding/libbacktrace/include/backtrace/
DBacktraceMap.h65 class BacktraceMap {
70 static BacktraceMap* Create(pid_t pid, bool uncached = false);
72 virtual ~BacktraceMap();
76 iterator(BacktraceMap* map, size_t index) : map_(map), index_(index) {} in iterator()
110 BacktraceMap* map_ = nullptr;
167 BacktraceMap(pid_t pid);
179 explicit ScopedBacktraceMapIteratorLock(BacktraceMap* map) : map_(map) { in ScopedBacktraceMapIteratorLock()
188 BacktraceMap* map_;
DBacktrace.h127 static Backtrace* Create(pid_t pid, pid_t tid, BacktraceMap* map = nullptr);
134 static bool Unwind(unwindstack::Regs* regs, BacktraceMap* back_map,
180 BacktraceMap* GetMap() { return map_; } in GetMap()
190 Backtrace(pid_t pid, pid_t tid, BacktraceMap* map);
203 BacktraceMap* map_;
/system/libprocinfo/
Dprocess_map_benchmark.cpp67 BacktraceMap* map = BacktraceMap::Create(pid, true); in BM_backtrace_BacktraceMap()