Searched refs:ReadPerfEventAllowStatus (Results 1 – 1 of 1) sorted by relevance
215 static bool ReadPerfEventAllowStatus(int* value) { in ReadPerfEventAllowStatus() function240 return ReadPerfEventAllowStatus(&value) && value == -1; in CanRecordRawData()287 bool can_read_allow_file = ReadPerfEventAllowStatus(&limit_level); in CheckPerfEventLimit()304 if (can_read_allow_file && ReadPerfEventAllowStatus(&limit_level) && limit_level <= 1) { in CheckPerfEventLimit()