Searched refs:ReadProcPidFile (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source_unittest.cc | 60 MOCK_METHOD2(ReadProcPidFile, std::string(int32_t pid, const std::string&)); 86 EXPECT_CALL(*data_source, ReadProcPidFile(42, "status")) in TEST_F() 89 EXPECT_CALL(*data_source, ReadProcPidFile(42, "cmdline")) in TEST_F() 108 EXPECT_CALL(*data_source, ReadProcPidFile(42, "status")) in TEST_F() 111 EXPECT_CALL(*data_source, ReadProcPidFile(42, "cmdline")) in TEST_F() 145 EXPECT_CALL(*data_source, ReadProcPidFile(p, "status")) in TEST_F() 155 EXPECT_CALL(*data_source, ReadProcPidFile(p, "cmdline")) in TEST_F() 194 EXPECT_CALL(*data_source, ReadProcPidFile(42, "status")) in TEST_F() 196 EXPECT_CALL(*data_source, ReadProcPidFile(42, "cmdline")) in TEST_F() 219 EXPECT_CALL(*data_source, ReadProcPidFile(42, "status")).Times(0); in TEST_F() [all …]
|
D | process_stats_data_source.cc | 220 std::string proc_status = ReadProcPidFile(pid, "status"); in WriteProcessOrThread() 246 std::string cmdline = ReadProcPidFile(pid, "cmdline"); in WriteProcess() 280 std::string ProcessStatsDataSource::ReadProcPidFile(int32_t pid, in ReadProcPidFile() function in perfetto::ProcessStatsDataSource 407 std::string proc_status = ReadProcPidFile(pid, "status"); in WriteAllProcessStats() 421 std::string oom_score_adj = ReadProcPidFile(pid, "oom_score_adj"); in WriteAllProcessStats() 564 std::string stat = ReadProcPidFile(pid, "stat"); in ShouldWriteThreadStats() 607 std::string time_in_state = ReadProcPidFile(tid, "time_in_state"); in WriteThreadStats()
|
D | process_stats_data_source.h | 75 virtual std::string ReadProcPidFile(int32_t pid, const std::string& file);
|