diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2010-12-06 22:34:29 -0600 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-07-09 22:09:03 -0700 |
commit | e1cbe236013c82bcf9a156e98d7b47efb89d2674 (patch) | |
tree | c2f1764a3d07fd01fdbe6fd7d6ecd647557808d5 /mm/page-writeback.c | |
parent | ffd1f609ab10532e8137b4b981fdf903ef4d0b32 (diff) | |
download | linux-e1cbe236013c82bcf9a156e98d7b47efb89d2674.tar.gz linux-e1cbe236013c82bcf9a156e98d7b47efb89d2674.tar.bz2 linux-e1cbe236013c82bcf9a156e98d7b47efb89d2674.zip |
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>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 798842a22474..f9d9f5476d58 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -447,6 +447,7 @@ void global_dirty_limits(unsigned long *pbackground, unsigned long *pdirty) } *pbackground = background; *pdirty = dirty; + trace_global_dirty_state(background, dirty); } /** |