You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.1 KiB
69 lines
2.1 KiB
4 months ago
|
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
|
||
|
}
|
||
|
}
|