Re: [PATCH 2/3] blktrace: add missed mask name

From: Jeff Moyer
Date: Tue May 10 2016 - 11:45:53 EST


Shaohua Li <shli@xxxxxx> writes:

> BLK_TC_NOTIFY is missed in mask_maps, so we can't print out notify or
> set mask with 'notify' name.

For the text-based interface, yeah.

Reviewed-by: Jeff Moyer <jmoyer@xxxxxxxxxx>

>
> Signed-off-by: Shaohua Li <shli@xxxxxx>
> ---
> kernel/trace/blktrace.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
> index 8ae9ea2..9aef865 100644
> --- a/kernel/trace/blktrace.c
> +++ b/kernel/trace/blktrace.c
> @@ -1552,6 +1552,7 @@ static const struct {
> { BLK_TC_COMPLETE, "complete" },
> { BLK_TC_FS, "fs" },
> { BLK_TC_PC, "pc" },
> + { BLK_TC_NOTIFY, "notify" },
> { BLK_TC_AHEAD, "ahead" },
> { BLK_TC_META, "meta" },
> { BLK_TC_DISCARD, "discard" },