Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Denvironment.cpp212 static const char* perf_event_allow_path = "/proc/sys/kernel/perf_event_paranoid"; variable
216 if (!android::base::ReadFileToString(perf_event_allow_path, &s)) { in ReadPerfEventAllowStatus()
217 PLOG(DEBUG) << "failed to read " << perf_event_allow_path; in ReadPerfEventAllowStatus()
222 PLOG(ERROR) << "failed to parse " << perf_event_allow_path << ": " << s; in ReadPerfEventAllowStatus()
266 if (android::base::WriteStringToFile("-1", perf_event_allow_path)) { in CheckPerfEventLimit()
271 PLOG(ERROR) << "failed to write -1 to " << perf_event_allow_path; in CheckPerfEventLimit()
301 LOG(WARNING) << perf_event_allow_path << " is " << limit_level << ", " in CheckPerfEventLimit()
308 LOG(WARNING) << perf_event_allow_path << " is " << limit_level << ", " in CheckPerfEventLimit()