Searched refs:ClearFile (Results 1 – 8 of 8) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller_unittest.cc | 134 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 181 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override)); 323 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")) in TEST() 326 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() 373 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")) in TEST() 376 ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))) in TEST() 406 EXPECT_CALL(*controller->procfs(), ClearFile("/root/trace")) in TEST() 409 ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))) in TEST() [all …]
|
D | ftrace_config_muxer_unittest.cc | 61 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 74 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override)); 362 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 363 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F() 457 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 458 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F() 584 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 585 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F() 618 EXPECT_CALL(ftrace, ClearFile("/root/trace")); in TEST_F() 619 EXPECT_CALL(ftrace, ClearFile(MatchesRegex("/root/per_cpu/cpu[0-9]/trace"))); in TEST_F() [all …]
|
D | ftrace_procfs.cc | 219 return ClearFile(path); in ClearFunctionFilters() 231 return ClearFile(path); in ClearFunctionGraphFilters() 391 PERFETTO_CHECK(ClearFile(path)); // Could not clear. in ClearTrace() 408 if (!ClearFile(root_ + "per_cpu/cpu" + std::to_string(cpu) + "/trace")) in ClearPerCpuTrace() 550 bool FtraceProcfs::ClearFile(const std::string& path) { in ClearFile() function in perfetto::FtraceProcfs
|
D | vendor_tracepoints_unittest.cc | 56 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 69 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));
|
D | ftrace_procfs_unittest.cc | 38 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));
|
D | ftrace_procfs.h | 178 virtual bool ClearFile(const std::string& path);
|
D | ftrace_controller.cc | 94 bool ClearFile(const char* path) { in ClearFile() function 152 res &= ClearFile((prefix + "trace").c_str()); in HardResetFtraceState()
|
D | cpu_reader_unittest.cc | 107 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 116 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));
|