Re: [PATCH] blktrace: Fix output non-blktrace event when blk_classic option enabled

From: Jens Axboe
Date: Thu Dec 08 2022 - 11:27:22 EST



On Tue, 22 Nov 2022 12:04:10 +0800, Yang Jihong wrote:
> When the blk_classic option is enabled, non-blktrace events must be
> filtered out. Otherwise, events of other types are output in the blktrace
> classic format, which is unexpected.
>
> The problem can be triggered in the following ways:
>
> # echo 1 > /sys/kernel/debug/tracing/options/blk_classic
> # echo 1 > /sys/kernel/debug/tracing/events/enable
> # echo blk > /sys/kernel/debug/tracing/current_tracer
> # cat /sys/kernel/debug/tracing/trace_pipe
>
> [...]

Applied, thanks!

[1/1] blktrace: Fix output non-blktrace event when blk_classic option enabled
commit: f596da3efaf4130ff61cd029558845808df9bf99

Best regards,
--
Jens Axboe