]> git.ipfire.org Git - thirdparty/linux.git/commit
blktrace: add definitions for blk_user_trace_setup2
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 22 Oct 2025 11:41:06 +0000 (13:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Oct 2025 17:14:05 +0000 (11:14 -0600)
commit0d8627cc936de8ea04f3cc1e6921c63fb72cc199
tree843a47b69c2fb9f0b2c34cdff1618d2e307bb89f
parent42da88a724d8a3b92ade35ae2ef4d5e5a491df2d
blktrace: add definitions for blk_user_trace_setup2

Add definitions for a version 2 of the blk_user_trace_setup ioctl. This
new ioctl will enable a different struct layout of the binary data passed
to user-space when using a new version of the blktrace utility requesting
the new struct layout.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/blktrace_api.h
include/uapi/linux/fs.h
kernel/trace/blktrace.c