Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DProbeEvents.cpp107 if (const char* tracefs_dir = GetTraceFsDir(); tracefs_dir != nullptr) { in IsKprobeSupported() local
108 std::string path = std::string(tracefs_dir) + "/kprobe_events"; in IsKprobeSupported()
Devent_type.cpp136 const char* tracefs_dir = GetTraceFsDir(); in FindType() local
137 if (tracefs_dir == nullptr) { in FindType()
140 std::string path = tracefs_dir + std::string("/events/") + strs[0] + "/" + strs[1] + "/id"; in FindType()
164 const char* tracefs_dir = GetTraceFsDir(); in LoadTypes() local
165 if (tracefs_dir == nullptr) { in LoadTypes()
168 const std::string tracepoint_dirname = tracefs_dir + std::string("/events"); in LoadTypes()
Dtracing.cpp88 const char* tracefs_dir = GetTraceFsDir(); in ReadTraceFsFile() local
89 if (tracefs_dir == nullptr) { in ReadTraceFsFile()
95 std::string full_path = tracefs_dir + path; in ReadTraceFsFile()
Denvironment.cpp987 static const char* tracefs_dir = nullptr; in GetTraceFsDir() local
988 if (tracefs_dir == nullptr) { in GetTraceFsDir()
991 tracefs_dir = path; in GetTraceFsDir()
996 return tracefs_dir; in GetTraceFsDir()