Home
last modified time | relevance | path

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

/system/core/libbacktrace/
Dbacktrace_test.cpp244 Backtrace* bt_all, Backtrace* bt_ign1, in VerifyIgnoreFrames() argument
246 EXPECT_EQ(bt_all->NumFrames(), bt_ign1->NumFrames() + 1) in VerifyIgnoreFrames()
247 << "All backtrace:\n" << DumpFrames(bt_all) << "Ignore 1 backtrace:\n" << DumpFrames(bt_ign1); in VerifyIgnoreFrames()
248 EXPECT_EQ(bt_all->NumFrames(), bt_ign2->NumFrames() + 2) in VerifyIgnoreFrames()
249 << "All backtrace:\n" << DumpFrames(bt_all) << "Ignore 2 backtrace:\n" << DumpFrames(bt_ign2); in VerifyIgnoreFrames()
259 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
260 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_all->GetFrame(i+2)->sp); in VerifyIgnoreFrames()
261 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_all->GetFrame(i+2)->stack_size); in VerifyIgnoreFrames()
379 void VerifyProcessIgnoreFrames(Backtrace* bt_all) { in VerifyProcessIgnoreFrames() argument
380 std::unique_ptr<Backtrace> ign1(Backtrace::Create(bt_all->Pid(), BACKTRACE_CURRENT_THREAD)); in VerifyProcessIgnoreFrames()
[all …]