Searched refs:ReadValueInEtmDir (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | ETMRecorder.cpp | 53 static bool ReadValueInEtmDir(const std::string& file, T* value, bool report_error = true) { in ReadValueInEtmDir() function 94 if (!IsDir(ETM_DIR) || !ReadValueInEtmDir("type", &event_type_, false)) { in GetEtmEventType() 148 ReadValueInEtmDir(name + "/trcidr/trcidr0", &cpu_info.trcidr0) && in ReadEtmInfo() 149 ReadValueInEtmDir(name + "/trcidr/trcidr1", &cpu_info.trcidr1) && in ReadEtmInfo() 150 ReadValueInEtmDir(name + "/trcidr/trcidr2", &cpu_info.trcidr2) && in ReadEtmInfo() 151 ReadValueInEtmDir(name + "/trcidr/trcidr4", &cpu_info.trcidr4) && in ReadEtmInfo() 152 ReadValueInEtmDir(name + "/trcidr/trcidr8", &cpu_info.trcidr8) && in ReadEtmInfo() 153 ReadValueInEtmDir(name + "/mgmt/trcauthstatus", &cpu_info.trcauthstatus); in ReadEtmInfo() 165 if (ReadValueInEtmDir("sinks/" + name, &sink_config_)) { in FindSinkConfig()
|