[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210503085034.0397fd54@gandalf.local.home>
Date: Mon, 3 May 2021 08:50:34 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: brookxu <brookxu.cn@...il.com>
Cc: mingo@...hat.com, linux-kernel@...r.kernel.org,
Dave Chinner <david@...morbit.com>,
Jens Axboe <jaxboe@...ionio.com>
Subject: Re: [PATCH v2] trace: replace WB_REASON_FOREIGN_FLUSH with a string
This should go through the folks that maintain the write back trace events.
-- Steve
On Sun, 2 May 2021 08:12:27 +0800
brookxu <brookxu.cn@...il.com> wrote:
> From: Chunguang Xu <brookxu@...cent.com>
>
> 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 <brookxu@...cent.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
>
Powered by blists - more mailing lists