Searched refs:ReadPerfEventAllowStatus (Results 1 – 1 of 1) sorted by relevance
214 static bool ReadPerfEventAllowStatus(int* value) { in ReadPerfEventAllowStatus() function239 return ReadPerfEventAllowStatus(&value) && value == -1; in CanRecordRawData()276 bool can_read_allow_file = ReadPerfEventAllowStatus(&limit_level); in CheckPerfEventLimit()293 if (can_read_allow_file && ReadPerfEventAllowStatus(&limit_level) && limit_level <= 1) { in CheckPerfEventLimit()