Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_test.cpp163 DebugUnwindFeature debug_unwind(2); in TEST_F() local
164 debug_unwind[0].path = "file1"; in TEST_F()
165 debug_unwind[0].size = 1000; in TEST_F()
166 debug_unwind[1].path = "file2"; in TEST_F()
167 debug_unwind[1].size = 2000; in TEST_F()
168 ASSERT_TRUE(writer->WriteDebugUnwindFeature(debug_unwind)); in TEST_F()
177 ASSERT_EQ(opt_debug_unwind.value().size(), debug_unwind.size()); in TEST_F()
178 for (size_t i = 0; i < debug_unwind.size(); i++) { in TEST_F()
179 ASSERT_EQ(opt_debug_unwind.value()[i].path, debug_unwind[i].path); in TEST_F()
180 ASSERT_EQ(opt_debug_unwind.value()[i].size, debug_unwind[i].size); in TEST_F()
Drecord_file_reader.cpp581 DebugUnwindFeature debug_unwind(proto_debug_unwind.file_size()); in ReadDebugUnwindFeature() local
583 debug_unwind[i].path = proto_debug_unwind.file(i).path(); in ReadDebugUnwindFeature()
584 debug_unwind[i].size = proto_debug_unwind.file(i).size(); in ReadDebugUnwindFeature()
586 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.h90 bool WriteDebugUnwindFeature(const DebugUnwindFeature& debug_unwind);