diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-10-29 20:21:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:04:24 +0100 |
commit | c9fe0f8fa4136c2451dcc012e48fbf4470d6b592 (patch) | |
tree | 5e8ce5d0a106d970b061041158eba858af9a35e6 /drivers/hv/vmbus_drv.c | |
parent | drivers/pcmcia: Convert timers to use timer_setup() (diff) | |
download | linux-c9fe0f8fa4136c2451dcc012e48fbf4470d6b592.tar.xz linux-c9fe0f8fa4136c2451dcc012e48fbf4470d6b592.zip |
hyper-v: trace vmbus_on_msg_dpc()
Add tracing subsystem to Hyper-V VMBus module and add tracepoint
to vmbus_on_msg_dpc() which is called when we receive a message from host.
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 8fe13cd76acf..8f9293a87c6b 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -835,6 +835,8 @@ void vmbus_on_msg_dpc(unsigned long data) hdr = (struct vmbus_channel_message_header *)msg->u.payload; + trace_vmbus_on_msg_dpc(hdr); + if (hdr->msgtype >= CHANNELMSG_COUNT) { WARN_ONCE(1, "unknown msgtype=%d\n", hdr->msgtype); goto msg_handled; |