• Home
  • Raw
  • Download

Lines Matching refs:FtraceProcfs

48   if (FtraceProcfs::g_kmesg_fd != -1)  in KernelLogWrite()
49 base::ignore_result(write(FtraceProcfs::g_kmesg_fd, s, strlen(s))); in KernelLogWrite()
55 int FtraceProcfs::g_kmesg_fd = -1; // Set by ProbesMain() in probes.cc .
58 std::unique_ptr<FtraceProcfs> FtraceProcfs::Create(const std::string& root) { in Create()
62 return std::unique_ptr<FtraceProcfs>(new FtraceProcfs(root)); in Create()
65 FtraceProcfs::FtraceProcfs(const std::string& root) : root_(root) {} in FtraceProcfs() function in perfetto::FtraceProcfs
66 FtraceProcfs::~FtraceProcfs() = default;
68 bool FtraceProcfs::EnableEvent(const std::string& group, in EnableEvent()
74 bool FtraceProcfs::DisableEvent(const std::string& group, in DisableEvent()
80 bool FtraceProcfs::DisableAllEvents() { in DisableAllEvents()
85 std::string FtraceProcfs::ReadEventFormat(const std::string& group, in ReadEventFormat()
91 std::string FtraceProcfs::ReadCpuStats(size_t cpu) const { in ReadCpuStats()
96 size_t FtraceProcfs::NumberOfCpus() const { in NumberOfCpus()
101 void FtraceProcfs::ClearTrace() { in ClearTrace()
106 bool FtraceProcfs::WriteTraceMarker(const std::string& str) { in WriteTraceMarker()
111 bool FtraceProcfs::SetCpuBufferSizeInPages(size_t pages) { in SetCpuBufferSizeInPages()
120 bool FtraceProcfs::EnableTracing() { in EnableTracing()
126 bool FtraceProcfs::DisableTracing() { in DisableTracing()
132 bool FtraceProcfs::SetTracingOn(bool enable) { in SetTracingOn()
136 bool FtraceProcfs::IsTracingEnabled() { in IsTracingEnabled()
141 bool FtraceProcfs::SetClock(const std::string& clock_name) { in SetClock()
146 std::string FtraceProcfs::GetClock() { in GetClock()
161 std::set<std::string> FtraceProcfs::AvailableClocks() { in AvailableClocks()
192 bool FtraceProcfs::WriteNumberToFile(const std::string& path, size_t value) { in WriteNumberToFile()
201 bool FtraceProcfs::WriteToFile(const std::string& path, in WriteToFile()
213 base::ScopedFile FtraceProcfs::OpenPipeForCpu(size_t cpu) { in OpenPipeForCpu()
219 char FtraceProcfs::ReadOneCharFromFile(const std::string& path) { in ReadOneCharFromFile()
228 bool FtraceProcfs::ClearFile(const std::string& path) { in ClearFile()
233 std::string FtraceProcfs::ReadFileIntoString(const std::string& path) const { in ReadFileIntoString()
244 bool FtraceProcfs::CheckRootPath(const std::string& root) { in CheckRootPath()