diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-10-29 20:21:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:04:26 +0100 |
commit | 991f8f1c6eb634688952fa6a03cc0ce949b6e363 (patch) | |
tree | 4751fc6d4cb24acca0acd2c409a62f0790bc308c /drivers/hv/vmbus_drv.c | |
parent | hyper-v: trace vmbus_send_tl_connect_request() (diff) | |
download | linux-991f8f1c6eb634688952fa6a03cc0ce949b6e363.tar.xz linux-991f8f1c6eb634688952fa6a03cc0ce949b6e363.zip |
hyper-v: trace channel events
Added an additional set of trace points for when channel gets notified
or signals host.
Suggested-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/vmbus_drv.c')
-rw-r--r-- | drivers/hv/vmbus_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 8f9293a87c6b..6a86746d4f60 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -946,6 +946,8 @@ static void vmbus_chan_sched(struct hv_per_cpu_context *hv_cpu) if (channel->rescind) continue; + trace_vmbus_chan_sched(channel); + ++channel->interrupts; switch (channel->callback_mode) { |