summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel_mgmt.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-10-29 20:21:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-04 12:04:25 +0100
commitc7924fb07a2646c9ff661efcad1167a1106d6019 (patch)
tree5c8c35d733f9f8c73b70d97bd5e4f1d2433a278b /drivers/hv/channel_mgmt.c
parenthyper-v: trace vmbus_ongpadl_torndown() (diff)
downloadlinux-c7924fb07a2646c9ff661efcad1167a1106d6019.tar.xz
linux-c7924fb07a2646c9ff661efcad1167a1106d6019.zip
hyper-v: trace vmbus_onversion_response()
Add tracepoint to CHANNELMSG_VERSION_RESPONSE handler. 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/channel_mgmt.c')
-rw-r--r--drivers/hv/channel_mgmt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index d1cb85257bf0..c33b7412f303 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -1127,6 +1127,9 @@ static void vmbus_onversion_response(
unsigned long flags;
version_response = (struct vmbus_channel_version_response *)hdr;
+
+ trace_vmbus_onversion_response(version_response);
+
spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags);
list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list,