Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source_unittest.cc251 const auto& sys_stats = packet.sys_stats(); in TEST_F() local
252 EXPECT_EQ(sys_stats.vmstat_size(), 0); in TEST_F()
253 EXPECT_EQ(sys_stats.cpu_stat_size(), 0); in TEST_F()
257 for (const auto& kv : sys_stats.meminfo()) in TEST_F()
279 const auto& sys_stats = packet.sys_stats(); in TEST_F() local
280 EXPECT_EQ(sys_stats.vmstat_size(), 0); in TEST_F()
281 EXPECT_EQ(sys_stats.cpu_stat_size(), 0); in TEST_F()
282 EXPECT_GE(sys_stats.meminfo_size(), 10); in TEST_F()
300 const auto& sys_stats = packet.sys_stats(); in TEST_F() local
301 EXPECT_EQ(sys_stats.meminfo_size(), 0); in TEST_F()
[all …]
Dsys_stats_data_source.cc195 auto* sys_stats = packet->set_sys_stats(); in ReadSysStats() local
198 ReadMeminfo(sys_stats); in ReadSysStats()
201 ReadVmstat(sys_stats); in ReadSysStats()
204 ReadStat(sys_stats); in ReadSysStats()
206 sys_stats->set_collection_end_timestamp( in ReadSysStats()
212 void SysStatsDataSource::ReadMeminfo(protos::pbzero::SysStats* sys_stats) { in ReadMeminfo() argument
230 auto* meminfo = sys_stats->add_meminfo(); in ReadMeminfo()
236 void SysStatsDataSource::ReadVmstat(protos::pbzero::SysStats* sys_stats) { in ReadVmstat() argument
252 auto* vmstat = sys_stats->add_vmstat(); in ReadVmstat()
258 void SysStatsDataSource::ReadStat(protos::pbzero::SysStats* sys_stats) { in ReadStat() argument
[all …]
DBUILD.gn17 source_set("sys_stats") {
25 "../../../../protos/perfetto/config/sys_stats:zero",
27 "../../../../protos/perfetto/trace/sys_stats:zero",
39 ":sys_stats",
42 "../../../../protos/perfetto/config/sys_stats:cpp",
43 "../../../../protos/perfetto/trace/sys_stats:cpp",
Dsys_stats_data_source.h79 void ReadMeminfo(protos::pbzero::SysStats* sys_stats);
80 void ReadVmstat(protos::pbzero::SysStats* sys_stats);
81 void ReadStat(protos::pbzero::SysStats* sys_stats);
/external/perfetto/src/trace_processor/importers/proto/
Dsystem_probes_parser.cc100 protos::pbzero::SysStats::Decoder sys_stats(blob.data, blob.size); in ParseSysStats() local
102 for (auto it = sys_stats.meminfo(); it; ++it) { in ParseSysStats()
116 for (auto it = sys_stats.vmstat(); it; ++it) { in ParseSysStats()
129 for (auto it = sys_stats.cpu_stat(); it; ++it) { in ParseSysStats()
166 for (auto it = sys_stats.num_irq(); it; ++it) { in ParseSysStats()
174 for (auto it = sys_stats.num_softirq(); it; ++it) { in ParseSysStats()
182 if (sys_stats.has_num_forks()) { in ParseSysStats()
185 context_->event_tracker->PushCounter(ts, sys_stats.num_forks(), track); in ParseSysStats()
188 if (sys_stats.has_num_irq_total()) { in ParseSysStats()
191 context_->event_tracker->PushCounter(ts, sys_stats.num_irq_total(), track); in ParseSysStats()
[all …]
Dsystem_probes_module.cc66 parser_.ParseSysStats(ttp.timestamp, decoder.sys_stats()); in ParsePacket()
/external/perfetto/src/traced/probes/
DBUILD.gn64 "sys_stats",
99 "sys_stats:unittests",
/external/perfetto/examples/sdk/
Dsystem_wide_trace_cfg.pbtxt16 name: "linux.sys_stats"
/external/perfetto/protos/perfetto/trace/sys_stats/
DBUILD.gn19 sources = [ "sys_stats.proto" ]
/external/perfetto/test/configs/
Dsys_stats.cfg45 name: "linux.sys_stats"
DBUILD.gn42 "sys_stats.cfg",
/external/perfetto/protos/perfetto/config/
DBUILD.gn33 "sys_stats:@TYPE@",
Ddata_source_config.proto34 import "protos/perfetto/config/sys_stats/sys_stats_config.proto";
87 // Data source name: linux.sys_stats
Dperfetto_config.proto853 // Begin of protos/perfetto/config/sys_stats/sys_stats_config.proto
894 // End of protos/perfetto/config/sys_stats/sys_stats_config.proto
1039 // Data source name: linux.sys_stats
/external/perfetto/
DAndroid.bp2720 // GN: //protos/perfetto/config/sys_stats:cpp
2724 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
2732 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.cc",
2736 // GN: //protos/perfetto/config/sys_stats:cpp
2740 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
2748 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.h",
2756 // GN: //protos/perfetto/config/sys_stats:lite
2760 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
2767 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc",
2771 // GN: //protos/perfetto/config/sys_stats:lite
[all …]
DBUILD1224 # GN target: //src/traced/probes/sys_stats:sys_stats
1228 "src/traced/probes/sys_stats/sys_stats_data_source.cc",
1229 "src/traced/probes/sys_stats/sys_stats_data_source.h",
1831 # GN target: //protos/perfetto/config/sys_stats:cpp
1840 # GN target: //protos/perfetto/config/sys_stats:lite
1848 # GN target: //protos/perfetto/config/sys_stats:zero
1852 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
1862 # GN target: //protos/perfetto/config/sys_stats:zero
2557 # GN target: //protos/perfetto/trace/sys_stats:lite
2565 # GN target: //protos/perfetto/trace/sys_stats:zero
[all …]
/external/perfetto/protos/perfetto/trace/
Dtrace_packet.proto49 import "protos/perfetto/trace/sys_stats/sys_stats.proto";
105 SysStats sys_stats = 7; field
DBUILD.gn89 "sys_stats:@TYPE@",
Dperfetto_trace.proto853 // Begin of protos/perfetto/config/sys_stats/sys_stats_config.proto
894 // End of protos/perfetto/config/sys_stats/sys_stats_config.proto
1039 // Data source name: linux.sys_stats
6438 // Begin of protos/perfetto/trace/sys_stats/sys_stats.proto
6496 // End of protos/perfetto/trace/sys_stats/sys_stats.proto
6935 SysStats sys_stats = 7; field
/external/perfetto/src/trace_processor/
DBUILD.gn157 "../../protos/perfetto/trace/sys_stats:zero",
375 "../../protos/perfetto/trace/sys_stats:zero",
/external/perfetto/docs/data-sources/
Dmemory-counters.md191 name: "linux.sys_stats"
/external/perfetto/docs/concepts/
Dconfig.md167 name: "linux.sys_stats"