Lines Matching refs:thread_tree
62 explicit TestSampleTreeBuilder(ThreadTree* thread_tree) in TestSampleTreeBuilder() argument
63 : SampleTreeBuilder(TestSampleComparator()), thread_tree_(thread_tree) {} in TestSampleTreeBuilder()
117 thread_tree.SetThreadName(1, 1, "p1t1"); in SetUp()
118 thread_tree.SetThreadName(1, 11, "p1t11"); in SetUp()
119 thread_tree.SetThreadName(2, 2, "p2t2"); in SetUp()
120 thread_tree.AddThreadMap(1, 1, 1, 5, 0, "process1_thread1"); in SetUp()
121 thread_tree.AddThreadMap(1, 11, 6, 5, 0, "process1_thread1_map2"); in SetUp()
122 thread_tree.AddThreadMap(2, 2, 1, 20, 0, "process2_thread2"); in SetUp()
123 thread_tree.AddKernelMap(10, 20, 0, "kernel"); in SetUp()
124 sample_tree_builder.reset(new TestSampleTreeBuilder(&thread_tree)); in SetUp()
131 ThreadTree thread_tree; member in SampleTreeTest
167 thread_tree.SetThreadName(1, 1, "p1t1_comm2"); in TEST_F()
208 ThreadTree thread_tree; in TEST() local
209 TestSampleTreeBuilder sample_tree_builder(&thread_tree); in TEST()
210 thread_tree.SetThreadName(1, 1, "thread1"); in TEST()
211 thread_tree.AddThreadMap(1, 1, 1, 10, 0, "map1"); // Add map 1. in TEST()
213 thread_tree.AddThreadMap(1, 1, 5, 20, 0, "map2"); // Add map 2. in TEST()
216 thread_tree.AddThreadMap(1, 1, 2, 7, 0, "map3"); // Add map 3. in TEST()
229 TEST(thread_tree, symbol_ULLONG_MAX) { in TEST() argument
230 ThreadTree thread_tree; in TEST() local
231 thread_tree.ShowIpForUnknownSymbol(); in TEST()
232 ASSERT_TRUE(thread_tree.FindKernelSymbol(ULLONG_MAX) != nullptr); in TEST()