summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_trace.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-10-29 20:21:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-04 12:04:25 +0100
commit602a8c525c8c7b2ff446894fc6b21f42471c952f (patch)
treed788802b8efc127cb870b865159772cf983038d6 /drivers/hv/hv_trace.h
parenthyper-v: trace vmbus_ongpadl_created() (diff)
downloadlinux-602a8c525c8c7b2ff446894fc6b21f42471c952f.tar.xz
linux-602a8c525c8c7b2ff446894fc6b21f42471c952f.zip
hyper-v: trace vmbus_ongpadl_torndown()
Add tracepoint to CHANNELMSG_GPADL_TORNDOWN 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/hv_trace.h')
-rw-r--r--drivers/hv/hv_trace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hv/hv_trace.h b/drivers/hv/hv_trace.h
index 20734b7b341b..84c08cdf7235 100644
--- a/drivers/hv/hv_trace.h
+++ b/drivers/hv/hv_trace.h
@@ -103,6 +103,14 @@ TRACE_EVENT(vmbus_ongpadl_created,
)
);
+TRACE_EVENT(vmbus_ongpadl_torndown,
+ TP_PROTO(const struct vmbus_channel_gpadl_torndown *gpadltorndown),
+ TP_ARGS(gpadltorndown),
+ TP_STRUCT__entry(__field(u32, gpadl)),
+ TP_fast_assign(__entry->gpadl = gpadltorndown->gpadl),
+ TP_printk("gpadl 0x%x", __entry->gpadl)
+ );
+
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE