Lines Matching refs:backtraces
111 backtraces, mapppings = native_heapdump_viewer.ParseNativeHeap(heap, False, True, "")
112 self.assertTrue(backtraces)
113 self.assertEqual(2, len(backtraces))
115 self.assertFalse(backtraces[0].is_zygote)
116 self.assertEqual(1000, backtraces[0].size)
117 self.assertEqual(4, backtraces[0].num_allocs)
118 self.assertEqual([0x1000, 0x2000, 0x3000], backtraces[0].frames)
120 self.assertTrue(backtraces[1].is_zygote)
121 self.assertEqual(8300, backtraces[1].size)
122 self.assertEqual(5, backtraces[1].num_allocs)
123 self.assertEqual([0x1300, 0x2300, 0x3300], backtraces[1].frames)
127 backtraces, mapppings = native_heapdump_viewer.ParseNativeHeap(heap, False, False, "")
128 self.assertTrue(backtraces)
129 self.assertEqual(2, len(backtraces))
131 self.assertFalse(backtraces[0].is_zygote)
132 self.assertEqual(1000, backtraces[0].size)
133 self.assertEqual(1, backtraces[0].num_allocs)
134 self.assertEqual([0x1000, 0x2000, 0x3000], backtraces[0].frames)
136 self.assertTrue(backtraces[1].is_zygote)
137 self.assertEqual(8300, backtraces[1].size)
138 self.assertEqual(1, backtraces[1].num_allocs)
139 self.assertEqual([0x1300, 0x2300, 0x3300], backtraces[1].frames)
143 backtraces, mapppings = native_heapdump_viewer.ParseNativeHeap(heap, True, True, "")
144 self.assertTrue(backtraces)
145 self.assertEqual(2, len(backtraces))
147 self.assertFalse(backtraces[0].is_zygote)
148 self.assertEqual(1000, backtraces[0].size)
149 self.assertEqual(4, backtraces[0].num_allocs)
150 self.assertEqual([0x3000, 0x2000, 0x1000], backtraces[0].frames)
152 self.assertTrue(backtraces[1].is_zygote)
153 self.assertEqual(8300, backtraces[1].size)
154 self.assertEqual(5, backtraces[1].num_allocs)
155 self.assertEqual([0x3300, 0x2300, 0x1300], backtraces[1].frames)
167 backtraces, mappings = native_heapdump_viewer.ParseNativeHeap(heap, True, True, "")