* [RFC PATCH 36/39] block: update blkdev_ioctl with new trace ioctls
@ 2020-08-25 22:10 Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2020-08-25 22:10 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 bdb3bbb253d9..851a2c2f4fda 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -550,6 +550,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.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [RFC PATCH 36/39] block: update blkdev_ioctl with new trace ioctls
@ 2020-11-05 2:40 Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2020-11-05 2:40 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 3fbc382eb926..94020ffffcc2 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -553,6 +553,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.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-05 2:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 22:10 [RFC PATCH 36/39] block: update blkdev_ioctl with new trace ioctls Chaitanya Kulkarni
2020-11-05 2:40 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).