trace: replace WB_REASON_FOREIGN_FLUSH with a string
Subsystems (2)
PATCH v2 1/1 trace: replace WB_REASON_FOREIGN_FLUSH with a string
From: Chunguang Xu <[email protected]>
Now WB_REASON_FOREIGN_FLUSH is displayed as a number, maybe a string is better.
v2: replace some space with tab.
Signed-off-by Chunguang Xu <[email protected]>
--- include/trace/events/writeback.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/trace/events/writeback.h +2 -1
@@ -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
Signature · 1 line
1.8.3.1
Steven Rostedt
maintainerThis should go through the folks that maintain the write back trace events.
-- Steve
Quoted 26 lines · On Sun, 2 May 2021 08:12:27 +0800 brookxu <[email protected]> wrote:
From: Chunguang Xu <[email protected]>
Now
WB_REASON_FOREIGN_FLUSHis displayed as a number, maybe a string is better.v2: replace some space with tab.
Signed-off-by Chunguang Xu <[email protected]>--- include/trace/events/writeback.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/trace/events/writeback.h +2
-1@@ -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
Steven Rostedt
maintainerAndrew,
Would you like to take this?
-- Steve
Quoted 26 lines · On Sun, 2 May 2021 08:12:27 +0800 brookxu <[email protected]> wrote:
From: Chunguang Xu <[email protected]>
Now
WB_REASON_FOREIGN_FLUSHis displayed as a number, maybe a string is better.v2: replace some space with tab.
Signed-off-by Chunguang Xu <[email protected]>--- include/trace/events/writeback.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/trace/events/writeback.h +2
-1@@ -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