Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_test.cpp167 DebugUnwindFeature debug_unwind(2); in TEST_F() local
168 debug_unwind[0].path = "file1"; in TEST_F()
169 debug_unwind[0].size = 1000; in TEST_F()
170 debug_unwind[1].path = "file2"; in TEST_F()
171 debug_unwind[1].size = 2000; in TEST_F()
172 ASSERT_TRUE(writer->WriteDebugUnwindFeature(debug_unwind)); in TEST_F()
181 ASSERT_EQ(opt_debug_unwind.value().size(), debug_unwind.size()); in TEST_F()
182 for (size_t i = 0; i < debug_unwind.size(); i++) { in TEST_F()
183 ASSERT_EQ(opt_debug_unwind.value()[i].path, debug_unwind[i].path); in TEST_F()
184 ASSERT_EQ(opt_debug_unwind.value()[i].size, debug_unwind[i].size); in TEST_F()
Drecord_file_reader.cpp728 DebugUnwindFeature debug_unwind(proto_debug_unwind.file_size()); in ReadDebugUnwindFeature() local
730 debug_unwind[i].path = proto_debug_unwind.file(i).path(); in ReadDebugUnwindFeature()
731 debug_unwind[i].size = proto_debug_unwind.file(i).size(); in ReadDebugUnwindFeature()
733 return debug_unwind; in ReadDebugUnwindFeature()
Drecord_file_writer.cpp422 bool RecordFileWriter::WriteDebugUnwindFeature(const DebugUnwindFeature& debug_unwind) { in WriteDebugUnwindFeature() argument
425 for (auto& file : debug_unwind) { in WriteDebugUnwindFeature()
Drecord_file.h100 bool WriteDebugUnwindFeature(const DebugUnwindFeature& debug_unwind);