Home
last modified time | relevance | path

Searched refs:ClearFile (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller_unittest.cc134 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 …]
Dftrace_config_muxer_unittest.cc61 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 …]
Dftrace_procfs.cc219 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
Dvendor_tracepoints_unittest.cc56 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs()
69 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));
Dftrace_procfs_unittest.cc38 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));
Dftrace_procfs.h178 virtual bool ClearFile(const std::string& path);
Dftrace_controller.cc94 bool ClearFile(const char* path) { in ClearFile() function
152 res &= ClearFile((prefix + "trace").c_str()); in HardResetFtraceState()
Dcpu_reader_unittest.cc107 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs()
116 MOCK_METHOD(bool, ClearFile, (const std::string& path), (override));