Searched refs:ClearFile (Results 1 – 8 of 8) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller_unittest.cc | 127 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 155 MOCK_METHOD1(ClearFile, bool(const std::string& path)); 281 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")) in TEST() 284 ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))) in TEST() 331 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")); in TEST() 333 ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST() 351 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")) in TEST() 354 ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))) in TEST() 368 EXPECT_CALL(*controller->procfs(), ClearFile(_)).Times(AnyNumber()); in TEST() 441 EXPECT_CALL(*controller->procfs(), ClearFile(_)).Times(AnyNumber()); in TEST()
|
D | discover_vendor_tracepoints_unittest.cc | 51 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 60 MOCK_METHOD1(ClearFile, bool(const std::string& path));
|
D | ftrace_controller.cc | 94 void ClearFile(const char* path) { in ClearFile() function 109 ClearFile("/sys/kernel/debug/tracing/trace"); in HardResetFtraceState() 114 ClearFile("/sys/kernel/tracing/trace"); in HardResetFtraceState()
|
D | ftrace_procfs.cc | 169 PERFETTO_CHECK(ClearFile(path)); // Could not clear. in ClearTrace() 186 if (!ClearFile(root_ + "per_cpu/cpu" + std::to_string(cpu) + "/trace")) in ClearPerCpuTrace() 317 bool FtraceProcfs::ClearFile(const std::string& path) { in ClearFile() function in perfetto::FtraceProcfs
|
D | ftrace_config_muxer_unittest.cc | 46 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 55 MOCK_METHOD1(ClearFile, bool(const std::string& path)); 438 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 439 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F() 862 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 863 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F()
|
D | ftrace_procfs_unittest.cc | 36 MOCK_METHOD1(ClearFile, bool(const std::string& path));
|
D | ftrace_procfs.h | 129 virtual bool ClearFile(const std::string& path);
|
D | cpu_reader_unittest.cc | 95 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 102 MOCK_METHOD1(ClearFile, bool(const std::string& path));
|