diff options
-rw-r--r-- | fs/fs-writeback.c | 1 | ||||
-rw-r--r-- | include/trace/events/writeback.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 3a07f6d8bc0b..482de0a92ca7 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -169,6 +169,7 @@ void bdi_start_background_writeback(struct backing_dev_info *bdi) | |||
169 | * We just wake up the flusher thread. It will perform background | 169 | * We just wake up the flusher thread. It will perform background |
170 | * writeback as soon as there is no other work to do. | 170 | * writeback as soon as there is no other work to do. |
171 | */ | 171 | */ |
172 | trace_writeback_wake_background(bdi); | ||
172 | spin_lock_bh(&bdi->wb_lock); | 173 | spin_lock_bh(&bdi->wb_lock); |
173 | bdi_wakeup_flusher(bdi); | 174 | bdi_wakeup_flusher(bdi); |
174 | spin_unlock_bh(&bdi->wb_lock); | 175 | spin_unlock_bh(&bdi->wb_lock); |
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h index 89a2b2db4375..4e249b927eaa 100644 --- a/include/trace/events/writeback.h +++ b/include/trace/events/writeback.h | |||
@@ -81,6 +81,7 @@ DEFINE_EVENT(writeback_class, name, \ | |||
81 | TP_ARGS(bdi)) | 81 | TP_ARGS(bdi)) |
82 | 82 | ||
83 | DEFINE_WRITEBACK_EVENT(writeback_nowork); | 83 | DEFINE_WRITEBACK_EVENT(writeback_nowork); |
84 | DEFINE_WRITEBACK_EVENT(writeback_wake_background); | ||
84 | DEFINE_WRITEBACK_EVENT(writeback_wake_thread); | 85 | DEFINE_WRITEBACK_EVENT(writeback_wake_thread); |
85 | DEFINE_WRITEBACK_EVENT(writeback_wake_forker_thread); | 86 | DEFINE_WRITEBACK_EVENT(writeback_wake_forker_thread); |
86 | DEFINE_WRITEBACK_EVENT(writeback_bdi_register); | 87 | DEFINE_WRITEBACK_EVENT(writeback_bdi_register); |