atrace: add memory reclaim tracing
Add "memreclaim" to trace direct reclaim, shrink slab cycles, and kswapd waking up and sleeping. Change-Id: I4cfb313820a3a9aa5a9d07a39c42db41c24304a6
This commit is contained in:
parent
f440d398fa
commit
580407f107
@ -129,6 +129,12 @@ static const TracingCategory k_categories[] = {
|
||||
{ "workq", "Kernel Workqueues", 0, {
|
||||
{ REQ, "/sys/kernel/debug/tracing/events/workqueue/enable" },
|
||||
} },
|
||||
{ "memreclaim", "Kernel Memory Reclaim", 0, {
|
||||
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/enable" },
|
||||
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_direct_reclaim_end/enable" },
|
||||
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_wake/enable" },
|
||||
{ REQ, "/sys/kernel/debug/tracing/events/vmscan/mm_vmscan_kswapd_sleep/enable" },
|
||||
} },
|
||||
};
|
||||
|
||||
/* Command line options */
|
||||
|
Loading…
Reference in New Issue
Block a user