Home
last modified time | relevance | path

Searched refs:sys_stats (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source_unittest.cc253 const auto& sys_stats = packet->sys_stats(); in TEST_F() local
254 EXPECT_EQ(sys_stats.vmstat_size(), 0); in TEST_F()
255 EXPECT_EQ(sys_stats.cpu_stat_size(), 0); in TEST_F()
259 for (const auto& kv : sys_stats.meminfo()) in TEST_F()
287 const auto& sys_stats = packet->sys_stats(); in TEST_F() local
288 EXPECT_EQ(sys_stats.meminfo_size(), 0); in TEST_F()
289 EXPECT_EQ(sys_stats.cpu_stat_size(), 0); in TEST_F()
293 for (const auto& kv : sys_stats.vmstat()) in TEST_F()
318 const auto& sys_stats = packet->sys_stats(); in TEST_F() local
319 EXPECT_EQ(sys_stats.meminfo_size(), 0); in TEST_F()
[all …]
Dsys_stats_data_source.cc166 auto* sys_stats = packet->set_sys_stats(); in ReadSysStats() local
169 ReadMeminfo(sys_stats); in ReadSysStats()
172 ReadVmstat(sys_stats); in ReadSysStats()
175 ReadStat(sys_stats); in ReadSysStats()
177 sys_stats->set_collection_end_timestamp( in ReadSysStats()
183 void SysStatsDataSource::ReadMeminfo(protos::pbzero::SysStats* sys_stats) { in ReadMeminfo() argument
201 auto* meminfo = sys_stats->add_meminfo(); in ReadMeminfo()
207 void SysStatsDataSource::ReadVmstat(protos::pbzero::SysStats* sys_stats) { in ReadVmstat() argument
223 auto* vmstat = sys_stats->add_vmstat(); in ReadVmstat()
229 void SysStatsDataSource::ReadStat(protos::pbzero::SysStats* sys_stats) { in ReadStat() argument
[all …]
DBUILD.gn15 source_set("sys_stats") {
25 "../../../../protos/perfetto/trace/sys_stats:zero",
37 ":sys_stats",
Dsys_stats_data_source.h78 void ReadMeminfo(protos::pbzero::SysStats* sys_stats);
79 void ReadVmstat(protos::pbzero::SysStats* sys_stats);
80 void ReadStat(protos::pbzero::SysStats* sys_stats);
/external/perfetto/src/traced/probes/
DBUILD.gn46 "sys_stats",
78 "sys_stats:unittests",
/external/perfetto/protos/
DBUILD93 "perfetto/config/sys_stats/sys_stats_config.proto",
158 "perfetto/config/sys_stats/sys_stats_config.proto",
769 # GN target: //protos/perfetto/trace/sys_stats:lite_gen
773 "perfetto/trace/sys_stats/sys_stats.proto",
786 # GN target: //protos/perfetto/trace/sys_stats:lite_gen
797 # GN target: //protos/perfetto/trace/sys_stats:zero_gen
801 "perfetto/trace/sys_stats/sys_stats.proto",
808 # GN target: //protos/perfetto/trace/sys_stats:zero_gen
/external/perfetto/protos/perfetto/config/
DBUILD.gn44 "sys_stats/sys_stats_config.proto",
70 "sys_stats/sys_stats_config.proto",
Ddata_source_config.proto30 import "perfetto/config/sys_stats/sys_stats_config.proto";
Dperfetto_config.proto395 // Begin of protos/perfetto/config/sys_stats/sys_stats_config.proto
438 // End of protos/perfetto/config/sys_stats/sys_stats_config.proto
/external/perfetto/protos/perfetto/trace/
DBUILD.gn47 "sys_stats:zero",
70 "sys_stats:lite",
Dtrace_packet.proto35 import "perfetto/trace/sys_stats/sys_stats.proto";
62 SysStats sys_stats = 7; field
Dperfetto_trace.proto2790 // Begin of protos/perfetto/trace/sys_stats/sys_stats.proto
2848 // End of protos/perfetto/trace/sys_stats/sys_stats.proto
2898 SysStats sys_stats = 7; field
3496 // Begin of protos/perfetto/config/sys_stats/sys_stats_config.proto
3539 // End of protos/perfetto/config/sys_stats/sys_stats_config.proto
/external/perfetto/src/trace_processor/
Dproto_trace_parser.cc301 ParseSysStats(ts, packet.sys_stats()); in ParseTracePacket()
340 protos::pbzero::SysStats::Decoder sys_stats(blob.data, blob.size); in ParseSysStats() local
342 for (auto it = sys_stats.meminfo(); it; ++it) { in ParseSysStats()
355 for (auto it = sys_stats.vmstat(); it; ++it) { in ParseSysStats()
367 for (auto it = sys_stats.cpu_stat(); it; ++it) { in ParseSysStats()
396 for (auto it = sys_stats.num_irq(); it; ++it) { in ParseSysStats()
403 for (auto it = sys_stats.num_softirq(); it; ++it) { in ParseSysStats()
410 if (sys_stats.has_num_forks()) { in ParseSysStats()
412 ts, sys_stats.num_forks(), num_forks_name_id_, 0, RefType::kRefNoRef); in ParseSysStats()
415 if (sys_stats.has_num_irq_total()) { in ParseSysStats()
[all …]
DBUILD.gn162 "../../protos/perfetto/trace/sys_stats:zero",
250 "../../protos/perfetto/trace/sys_stats:zero",
/external/perfetto/
DAndroid.bp295 "src/traced/probes/sys_stats/sys_stats_data_source.cc",
676 "src/traced/probes/sys_stats/sys_stats_data_source.cc",
893 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
912 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc",
932 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
951 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h",
974 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
994 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc",
1014 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
1034 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h",
[all …]
/external/perfetto/protos/perfetto/trace/sys_stats/
DBUILD.gn18 sys_stats_proto_names = [ "sys_stats.proto" ]
/external/perfetto/test/configs/
DBUILD.gn36 "sys_stats.cfg",
Dsys_stats.cfg45 name: "linux.sys_stats"