blob: c7cf238560643311fbd547bbbb111dc6fd4177d1 [file] [log] [blame] [edit]
unique_session_name: "perfetto_mm_events_session"
bugreport_score: 100
buffers: {
size_kb: 512
fill_policy: DISCARD
}
data_sources: {
config {
name: "linux.sys_stats"
sys_stats_config {
vmstat_period_ms: 500
vmstat_counters: VMSTAT_NR_FREE_PAGES
vmstat_counters: VMSTAT_NR_SLAB_RECLAIMABLE
vmstat_counters: VMSTAT_NR_SLAB_UNRECLAIMABLE
vmstat_counters: VMSTAT_NR_ACTIVE_FILE
vmstat_counters: VMSTAT_NR_INACTIVE_FILE
vmstat_counters: VMSTAT_NR_ACTIVE_ANON
vmstat_counters: VMSTAT_NR_INACTIVE_ANON
vmstat_counters: VMSTAT_WORKINGSET_REFAULT
vmstat_counters: VMSTAT_WORKINGSET_ACTIVATE
vmstat_counters: VMSTAT_NR_FILE_PAGES
vmstat_counters: VMSTAT_PGPGIN
vmstat_counters: VMSTAT_PGPGOUT
vmstat_counters: VMSTAT_PSWPIN
vmstat_counters: VMSTAT_PSWPOUT
vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_DMA
vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_NORMAL
vmstat_counters: VMSTAT_PGSTEAL_KSWAPD_MOVABLE
vmstat_counters: VMSTAT_PGSTEAL_DIRECT_DMA
vmstat_counters: VMSTAT_PGSTEAL_DIRECT_NORMAL
vmstat_counters: VMSTAT_PGSTEAL_DIRECT_MOVABLE
vmstat_counters: VMSTAT_PGSCAN_KSWAPD_DMA
vmstat_counters: VMSTAT_PGSCAN_KSWAPD_NORMAL
vmstat_counters: VMSTAT_PGSCAN_KSWAPD_MOVABLE
vmstat_counters: VMSTAT_PGSCAN_DIRECT_DMA
vmstat_counters: VMSTAT_PGSCAN_DIRECT_NORMAL
vmstat_counters: VMSTAT_PGSCAN_DIRECT_MOVABLE
vmstat_counters: VMSTAT_COMPACT_MIGRATE_SCANNED
vmstat_counters: VMSTAT_COMPACT_FREE_SCANNED
}
}
}
data_sources: {
config {
name: "linux.ftrace"
ftrace_config {
ftrace_events: "vmscan/mm_vmscan_kswapd_wake"
ftrace_events: "vmscan/mm_vmscan_kswapd_sleep"
ftrace_events: "vmscan/mm_vmscan_direct_reclaim_begin"
ftrace_events: "vmscan/mm_vmscan_direct_reclaim_end"
ftrace_events: "compaction/mm_compaction_begin"
ftrace_events: "compaction/mm_compaction_end"
}
}
}
trigger_config {
trigger_mode: START_TRACING
trigger_timeout_ms: 120000
triggers {
name: "kmem_activity"
stop_delay_ms: 10000
}
}