summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_trace.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-10-29 12:21:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-04 12:04:24 +0100
commitc9fe0f8fa4136c2451dcc012e48fbf4470d6b592 (patch)
tree5e8ce5d0a106d970b061041158eba858af9a35e6 /drivers/hv/hv_trace.c
parent32946cc2d5686d320aab9fb162d8949c767f7519 (diff)
downloadlinux-c9fe0f8fa4136c2451dcc012e48fbf4470d6b592.tar.gz
linux-c9fe0f8fa4136c2451dcc012e48fbf4470d6b592.tar.bz2
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/hv_trace.c')
-rw-r--r--drivers/hv/hv_trace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hv/hv_trace.c b/drivers/hv/hv_trace.c
new file mode 100644
index 000000000000..df47acd01a81
--- /dev/null
+++ b/drivers/hv/hv_trace.c
@@ -0,0 +1,4 @@
+#include "hyperv_vmbus.h"
+
+#define CREATE_TRACE_POINTS
+#include "hv_trace.h"