summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel_mgmt.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-10-29 20:21:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-04 12:04:25 +0100
commitd6706e63367a9c783974db4b94cf8980d31c4cb2 (patch)
tree3d356a48f9ee0ac24c632b1c4e0e1cb888ce00af /drivers/hv/channel_mgmt.c
parenthyper-v: trace vmbus_onversion_response() (diff)
downloadlinux-d6706e63367a9c783974db4b94cf8980d31c4cb2.tar.xz
linux-d6706e63367a9c783974db4b94cf8980d31c4cb2.zip
hyper-v: trace vmbus_request_offers()
Add tracepoint to CHANNELMSG_REQUESTOFFERS sender. 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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index c33b7412f303..b27edff8796e 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -1224,9 +1224,11 @@ int vmbus_request_offers(void)
msg->msgtype = CHANNELMSG_REQUESTOFFERS;
-
ret = vmbus_post_msg(msg, sizeof(struct vmbus_channel_message_header),
true);
+
+ trace_vmbus_request_offers(ret);
+
if (ret != 0) {
pr_err("Unable to request offers - %d\n", ret);