Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Denvironment.cpp440 static const char* GetLimitLevelDescription(int limit_level) { in GetLimitLevelDescription() argument
441 switch (limit_level) { in GetLimitLevelDescription()
456 int limit_level; in CheckPerfEventLimit() local
457 if (!ReadPerfEventParanoid(&limit_level)) { in CheckPerfEventLimit()
460 if (limit_level <= 1) { in CheckPerfEventLimit()
467 if (ReadPerfEventParanoid(&limit_level) && limit_level <= 1) { in CheckPerfEventLimit()
471 LOG(WARNING) << "/proc/sys/kernel/perf_event_paranoid is " << limit_level in CheckPerfEventLimit()
472 << ", " << GetLimitLevelDescription(limit_level) << "."; in CheckPerfEventLimit()
475 LOG(WARNING) << "/proc/sys/kernel/perf_event_paranoid is " << limit_level in CheckPerfEventLimit()
476 << ", " << GetLimitLevelDescription(limit_level) << "."; in CheckPerfEventLimit()