* [RFC PATCH 37/39] block: update blkdev_ioctl with new trace ioctls
@ 2020-03-23 16:30 Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2020-03-23 16:30 UTC (permalink / raw)
To: linux-btrace
Add newly intoduce IOCTLs so that userspace tools can call them.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
---
block/ioctl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/block/ioctl.c b/block/ioctl.c
index 127194b9f9bd..339606854524 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -647,6 +647,10 @@ static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode,
case BLKTRACESTART:
case BLKTRACESTOP:
case BLKTRACETEARDOWN:
+ case BLKTRACESETUP_EXT:
+ case BLKTRACESTART_EXT:
+ case BLKTRACESTOP_EXT:
+ case BLKTRACETEARDOWN_EXT:
return blk_trace_ioctl(bdev, cmd, argp);
case IOC_PR_REGISTER:
return blkdev_pr_register(bdev, argp);
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [RFC PATCH 37/39] block: update blkdev_ioctl with new trace ioctls
@ 2019-11-20 4:25 Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2019-11-20 4:25 UTC (permalink / raw)
To: linux-btrace
Add newly intoduce IOCTLs so that userspace tools can call them.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
---
block/ioctl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/block/ioctl.c b/block/ioctl.c
index 8756efb1419e..20f60f1ede68 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -592,6 +592,10 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
case BLKTRACESTOP:
case BLKTRACESETUP:
case BLKTRACETEARDOWN:
+ case BLKTRACESETUP_EXT:
+ case BLKTRACESTART_EXT:
+ case BLKTRACESTOP_EXT:
+ case BLKTRACETEARDOWN_EXT:
return blk_trace_ioctl(bdev, cmd, argp);
case IOC_PR_REGISTER:
return blkdev_pr_register(bdev, argp);
--
2.22.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-23 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 16:30 [RFC PATCH 37/39] block: update blkdev_ioctl with new trace ioctls Chaitanya Kulkarni
-- strict thread matches above, loose matches on Subject: below --
2019-11-20 4:25 Chaitanya Kulkarni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).