Re: [PATCH 10/11] btreplay: support blk_io_trace2 in btrecord

Damien Le Moal <[email protected]>
Newsgroups org.kernel.vger.linux-block,org.kernel.vger.linux-btrace
Organization Western Digital Research
Message-ID <[email protected]>
On 7/16/26 20:04, Johannes Thumshirn wrote:
> Read the 'magic' portion of the trace first and then parse either 'struct
> blk_io_trace' or 'struct blk_io_trace2' depending on the protocol version
> of the trace, so btrecord can process both trace file versions.
> 
> Signed-off-by: Johannes Thumshirn <[email protected]>

Looks OK to me.

Reviewed-by: Damien Le Moal <[email protected]>

-- 
Damien Le Moal
Western Digital Research
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.