Lines Matching refs:thread_tree
61 explicit TestSampleTreeBuilder(ThreadTree* thread_tree) in TestSampleTreeBuilder() argument
62 : SampleTreeBuilder(TestSampleComparator()), thread_tree_(thread_tree) {} in TestSampleTreeBuilder()
123 thread_tree.SetThreadName(1, 1, "p1t1"); in SetUp()
124 thread_tree.SetThreadName(1, 11, "p1t11"); in SetUp()
125 thread_tree.SetThreadName(2, 2, "p2t2"); in SetUp()
126 thread_tree.AddThreadMap(1, 1, 1, 5, 0, "process1_thread1"); in SetUp()
127 thread_tree.AddThreadMap(1, 11, 6, 5, 0, "process1_thread1_map2"); in SetUp()
128 thread_tree.AddThreadMap(2, 2, 1, 20, 0, "process2_thread2"); in SetUp()
129 thread_tree.AddKernelMap(10, 20, 0, "kernel"); in SetUp()
130 sample_tree_builder.reset(new TestSampleTreeBuilder(&thread_tree)); in SetUp()
137 ThreadTree thread_tree; member in SampleTreeTest
173 thread_tree.SetThreadName(1, 1, "p1t1_comm2"); in TEST_F()
214 ThreadTree thread_tree; in TEST() local
215 TestSampleTreeBuilder sample_tree_builder(&thread_tree); in TEST()
216 thread_tree.SetThreadName(1, 1, "thread1"); in TEST()
217 thread_tree.AddThreadMap(1, 1, 1, 10, 0, "map1"); // Add map 1. in TEST()
219 thread_tree.AddThreadMap(1, 1, 5, 20, 0, "map2"); // Add map 2. in TEST()
222 thread_tree.AddThreadMap(1, 1, 2, 7, 0, "map3"); // Add map 3. in TEST()
235 TEST(thread_tree, symbol_ULLONG_MAX) { in TEST() argument
236 ThreadTree thread_tree; in TEST() local
237 thread_tree.ShowIpForUnknownSymbol(); in TEST()
238 ASSERT_TRUE(thread_tree.FindKernelSymbol(ULLONG_MAX) != nullptr); in TEST()