Searched refs:tracefs_dir (Results 1 – 4 of 4) sorted by relevance
107 if (const char* tracefs_dir = GetTraceFsDir(); tracefs_dir != nullptr) { in IsKprobeSupported() local108 std::string path = std::string(tracefs_dir) + "/kprobe_events"; in IsKprobeSupported()
136 const char* tracefs_dir = GetTraceFsDir(); in FindType() local137 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() local165 if (tracefs_dir == nullptr) { in LoadTypes()168 const std::string tracepoint_dirname = tracefs_dir + std::string("/events"); in LoadTypes()
88 const char* tracefs_dir = GetTraceFsDir(); in ReadTraceFsFile() local89 if (tracefs_dir == nullptr) { in ReadTraceFsFile()95 std::string full_path = tracefs_dir + path; in ReadTraceFsFile()
987 static const char* tracefs_dir = nullptr; in GetTraceFsDir() local988 if (tracefs_dir == nullptr) { in GetTraceFsDir()991 tracefs_dir = path; in GetTraceFsDir()996 return tracefs_dir; in GetTraceFsDir()