Home
last modified time | relevance | path

Searched refs:limit_level (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/
Denvironment.cpp254 static const char* GetLimitLevelDescription(int limit_level) { in GetLimitLevelDescription() argument
255 switch (limit_level) { in GetLimitLevelDescription()
286 int limit_level; in CheckPerfEventLimit() local
287 bool can_read_allow_file = ReadPerfEventAllowStatus(&limit_level); in CheckPerfEventLimit()
288 if (can_read_allow_file && limit_level <= 1) { in CheckPerfEventLimit()
304 if (can_read_allow_file && ReadPerfEventAllowStatus(&limit_level) && limit_level <= 1) { in CheckPerfEventLimit()
312 LOG(ERROR) << perf_event_allow_path << " is " << limit_level << ", " in CheckPerfEventLimit()
313 << GetLimitLevelDescription(limit_level) << "."; in CheckPerfEventLimit()
319 LOG(ERROR) << perf_event_allow_path << " is " << limit_level << ", " in CheckPerfEventLimit()
320 << GetLimitLevelDescription(limit_level) << ". Try using `echo -1 >" in CheckPerfEventLimit()