Home
last modified time | relevance | path

Searched refs:UnwindResult (Results 1 – 19 of 19) sorted by relevance

/external/cronet/base/profiler/
Dnative_unwinder_win.cc23 UnwindResult NativeUnwinderWin::TryUnwind(RegisterContext* thread_context, in TryUnwind()
45 return UnwindResult::kAborted; in TryUnwind()
52 return UnwindResult::kUnrecognizedFrame; in TryUnwind()
58 return UnwindResult::kAborted; in TryUnwind()
62 return UnwindResult::kCompleted; in TryUnwind()
82 return UnwindResult::kAborted; in TryUnwind()
92 return UnwindResult::kCompleted; in TryUnwind()
Dframe_pointer_unwinder.cc46 UnwindResult FramePointerUnwinder::TryUnwind(RegisterContext* thread_context, in TryUnwind()
68 return UnwindResult::kAborted; in TryUnwind()
72 return UnwindResult::kAborted; in TryUnwind()
78 return UnwindResult::kUnrecognizedFrame; in TryUnwind()
87 return UnwindResult::kCompleted; in TryUnwind()
95 return UnwindResult::kAborted; in TryUnwind()
104 return UnwindResult::kCompleted; in TryUnwind()
Dlibunwindstack_unwinder_android_unittest.cc90 UnwindResult result = unwinder->TryUnwind( in TEST()
92 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
120 UnwindResult result = unwinder->TryUnwind( in TEST()
122 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
152 UnwindResult result = unwinder->TryUnwind( in TEST()
154 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
188 UnwindResult result = unwinder->TryUnwind( in TEST()
190 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
226 UnwindResult result = unwinder->TryUnwind( in TEST()
228 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
Dstack_sampler_unittest.cc120 UnwindResult TryUnwind(RegisterContext* thread_context, in TryUnwind()
127 return UnwindResult::kCompleted; in TryUnwind()
143 UnwindResult TryUnwind(RegisterContext* thread_context, in TryUnwind()
146 return UnwindResult::kUnrecognizedFrame; in TryUnwind()
191 : can_unwind(can_unwind), result(UnwindResult::kUnrecognizedFrame) {} in Result()
193 Result(UnwindResult result, std::vector<uintptr_t> instruction_pointers) in Result()
199 UnwindResult result;
223 UnwindResult TryUnwind(RegisterContext* thread_context, in TryUnwind()
405 WrapUnique(new FakeTestUnwinder({{UnwindResult::kCompleted, {1u}}})); in TEST()
423 WrapUnique(new FakeTestUnwinder({{UnwindResult::kAborted, {1u}}})); in TEST()
[all …]
Dframe_pointer_unwinder_unittest.cc116 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
121 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
126 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
148 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
177 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
204 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
229 EXPECT_EQ(UnwindResult::kAborted, in TEST_F()
259 EXPECT_EQ(UnwindResult::kCompleted, in TEST_F()
296 EXPECT_EQ(UnwindResult::kUnrecognizedFrame, in TEST_F()
331 EXPECT_EQ(UnwindResult::kUnrecognizedFrame, in TEST_F()
Dchrome_unwinder_android.cc86 UnwindResult ChromeUnwinderAndroid::TryUnwind(RegisterContext* thread_context, in TryUnwind()
105 return UnwindResult::kAborted; in TryUnwind()
129 return UnwindResult::kAborted; in TryUnwind()
135 return UnwindResult::kAborted; in TryUnwind()
146 return UnwindResult::kAborted; in TryUnwind()
155 return UnwindResult::kAborted; in TryUnwind()
164 return UnwindResult::kAborted; in TryUnwind()
173 return UnwindResult::kUnrecognizedFrame; in TryUnwind()
Dnative_unwinder_android_unittest.cc161 UnwindResult result = unwinder->TryUnwind( in TEST()
163 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
197 UnwindResult result = unwinder->TryUnwind( in TEST()
199 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
234 UnwindResult result = unwinder->TryUnwind( in TEST()
236 EXPECT_EQ(UnwindResult::kCompleted, result); in TEST()
270 EXPECT_EQ(UnwindResult::kUnrecognizedFrame, in TEST()
332 UnwindResult::kUnrecognizedFrame, in TEST()
345 UnwindResult::kUnrecognizedFrame, in TEST()
357 UnwindResult::kCompleted, in TEST()
[all …]
Dnative_unwinder_android.cc175 UnwindResult NativeUnwinderAndroid::TryUnwind(RegisterContext* thread_context, in TryUnwind()
206 return UnwindResult::kCompleted; in TryUnwind()
212 return UnwindResult::kAborted; in TryUnwind()
220 return UnwindResult::kAborted; in TryUnwind()
230 return UnwindResult::kAborted; in TryUnwind()
251 return UnwindResult::kUnrecognizedFrame; in TryUnwind()
Dstack_sampler.cc231 UnwindResult result; in WalkStack()
247 DCHECK(result != UnwindResult::kCompleted || in WalkStack()
249 } while (result != UnwindResult::kAborted && in WalkStack()
250 result != UnwindResult::kCompleted && in WalkStack()
Dunwinder.h19 enum class UnwindResult { enum
77 virtual UnwindResult TryUnwind(RegisterContext* thread_context,
Dlibunwindstack_unwinder_android.cc118 UnwindResult LibunwindstackUnwinderAndroid::TryUnwind( in TryUnwind()
160 return UnwindResult::kCompleted; in TryUnwind()
184 return UnwindResult::kCompleted; in TryUnwind()
Dnative_unwinder_win.h24 UnwindResult TryUnwind(RegisterContext* thread_context,
Dframe_pointer_unwinder.h37 UnwindResult TryUnwind(RegisterContext* thread_context,
Dchrome_unwinder_android_unittest.cc1110 EXPECT_EQ(UnwindResult::kUnrecognizedFrame, in TEST()
1180 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1273 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1346 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1419 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1491 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1563 EXPECT_EQ(UnwindResult::kAborted, in TEST()
1638 EXPECT_EQ(UnwindResult::kAborted, in TEST()
Dlibunwindstack_unwinder_android.h37 UnwindResult TryUnwind(RegisterContext* thread_context,
Dchrome_unwinder_android.h32 UnwindResult TryUnwind(RegisterContext* thread_context,
Dnative_unwinder_android.h69 UnwindResult TryUnwind(RegisterContext* thread_context,
Dstack_sampling_profiler_unittest.cc496 UnwindResult TryUnwind(RegisterContext* thread_context, in TryUnwind()
500 return UnwindResult::kAborted; in TryUnwind()
/external/perfetto/src/profiling/perf/
Dunwinding.cc341 struct UnwindResult { in UnwindSample() struct
346 UnwindResult(unwindstack::ErrorCode e, in UnwindSample() argument
350 UnwindResult(const UnwindResult&) = delete; in UnwindSample()
351 UnwindResult& operator=(const UnwindResult&) = delete; in UnwindSample()
352 UnwindResult(UnwindResult&&) __attribute__((unused)) = default; in UnwindSample()
353 UnwindResult& operator=(UnwindResult&&) = default; in UnwindSample()
356 &overlay_memory]() -> UnwindResult { in UnwindSample()
378 UnwindResult unwind = attempt_unwind(); in UnwindSample()