Searched refs:ReadTraceFsFile (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | tracing.cpp | 89 static bool ReadTraceFsFile(const std::string& path, std::string* content, in ReadTraceFsFile() function 154 return ReadTraceFsFile("/events/header_page", &header_page_file) && in RecordHeaderFiles() 155 ReadTraceFsFile("/events/header_event", &header_event_file); in RecordHeaderFiles() 161 if (ReadTraceFsFile("/events/ftrace/" + type.name + "/format", &format_data, false)) { in RecordFtraceFiles() 170 if (!ReadTraceFsFile("/events/" + type.system + "/" + type.name + "/format", &format_data)) { in RecordEventFiles() 179 return ReadTraceFsFile("/printk_formats", &printk_formats_file); in RecordPrintkFormatsFile() 629 if (!ReadTraceFsFile("/events/" + strs[0] + "/" + strs[1] + "/format", &data, false)) { in GetFieldNamesForTracepointEvent()
|