Searched refs:ReadTraceFsFile (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | tracing.cpp | 85 static bool ReadTraceFsFile(const std::string& path, std::string* content, bool report_error = true… in ReadTraceFsFile() function 149 return ReadTraceFsFile("/events/header_page", &header_page_file) && in RecordHeaderFiles() 150 ReadTraceFsFile("/events/header_event", &header_event_file); in RecordHeaderFiles() 156 if (ReadTraceFsFile("/events/ftrace/" + type.name + "/format", &format_data, false)) { in RecordFtraceFiles() 165 if (!ReadTraceFsFile("/events/" + type.system + "/" + type.name + "/format", &format_data)) { in RecordEventFiles() 174 return ReadTraceFsFile("/printk_formats", &printk_formats_file); in RecordPrintkFormatsFile() 616 if (!ReadTraceFsFile("/events/" + strs[0] + "/" + strs[1] + "/format", &data, false)) { in GetFieldNamesForTracepointEvent()
|