writeback: trace global_dirty_state
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 7 Dec 2010 04:34:29 +0000 (22:34 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Sun, 10 Jul 2011 05:09:03 +0000 (22:09 -0700)
commite1cbe236013c82bcf9a156e98d7b47efb89d2674
treec2f1764a3d07fd01fdbe6fd7d6ecd647557808d5
parentffd1f609ab10532e8137b4b981fdf903ef4d0b32
writeback: trace global_dirty_state

Add trace event balance_dirty_state for showing the global dirty page
counts and thresholds at each global_dirty_limits() invocation.  This
will cover the callers throttle_vm_writeout(), over_bground_thresh()
and each balance_dirty_pages() loop.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
include/trace/events/writeback.h
mm/page-writeback.c