summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunguang Xu <brookxu@tencent.com>2021-05-02 03:12:27 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-06-10 18:16:20 +0300
commit3d3d9c072e377a0c5fa0a1f661a95134e787db3a (patch)
treeb2ee1bd19184c01fb024ebeb7b49e8ba4bbea344
parent957cdcd9bd7e035dcf0f29e4124b8021ea2ed696 (diff)
downloadlinux-3d3d9c072e377a0c5fa0a1f661a95134e787db3a.tar.xz
trace: replace WB_REASON_FOREIGN_FLUSH with a string
Now WB_REASON_FOREIGN_FLUSH is displayed as a number, maybe a string is better. v2: replace some space with tab. Link: https://lkml.kernel.org/r/1619914347-21904-1-git-send-email-brookxu.cn@gmail.com Signed-off-by: Chunguang Xu <brookxu@tencent.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--include/trace/events/writeback.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index 1efa463c4979..840d1ba84cf5 100644
--- a/include/trace/events/writeback.h
+++ b/include/trace/events/writeback.h
@@ -36,7 +36,8 @@
EM( WB_REASON_PERIODIC, "periodic") \
EM( WB_REASON_LAPTOP_TIMER, "laptop_timer") \
EM( WB_REASON_FS_FREE_SPACE, "fs_free_space") \
- EMe(WB_REASON_FORKER_THREAD, "forker_thread")
+ EM( WB_REASON_FORKER_THREAD, "forker_thread") \
+ EMe(WB_REASON_FOREIGN_FLUSH, "foreign_flush")
WB_WORK_REASON