Home | History | Annotate | Download | only in ftrace_reader

Lines Matching refs:string

22 #include <string>
30 static std::unique_ptr<FtraceProcfs> Create(const std::string& root);
33 explicit FtraceProcfs(const std::string& root);
37 bool EnableEvent(const std::string& group, const std::string& name);
40 bool DisableEvent(const std::string& group, const std::string& name);
47 virtual std::string ReadEventFormat(const std::string& group,
48 const std::string& name) const;
51 std::string ReadCpuStats(size_t cpu) const;
65 // Writes the string |str| as an event into the trace buffer.
66 bool WriteTraceMarker(const std::string& str);
84 bool SetClock(const std::string& clock_name);
87 std::string GetClock();
90 std::set<std::string> AvailableClocks();
97 virtual bool WriteToFile(const std::string& path, const std::string& str);
98 virtual bool ClearFile(const std::string& path);
99 virtual char ReadOneCharFromFile(const std::string& path);
100 virtual std::string ReadFileIntoString(const std::string& path) const;
104 static bool CheckRootPath(const std::string& root);
106 bool WriteNumberToFile(const std::string& path, size_t value);
108 const std::string root_;