All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trace: replace WB_REASON_FOREIGN_FLUSH with a string
@ 2021-05-01 23:51 brookxu
  0 siblings, 0 replies; only message in thread
From: brookxu @ 2021-05-01 23:51 UTC (permalink / raw)
  To: rostedt, mingo; +Cc: linux-kernel

From: Chunguang Xu <brookxu@tencent.com>

Now WB_REASON_FOREIGN_FLUSH is displayed as a number, maybe a
string is better.

Signed-off-by: Chunguang Xu <brookxu@tencent.com>
---
 include/trace/events/writeback.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index 1efa463..7c78c04 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
 
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-01 23:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01 23:51 [PATCH] trace: replace WB_REASON_FOREIGN_FLUSH with a string brookxu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.