Merge tag 'xfs-5.13-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / drivers / hv / hv_trace.h
index f9d14db..c02a171 100644 (file)
@@ -44,10 +44,8 @@ TRACE_EVENT(vmbus_onoffer,
                           __entry->monitorid = offer->monitorid;
                           __entry->is_ddc_int = offer->is_dedicated_interrupt;
                           __entry->connection_id = offer->connection_id;
-                          memcpy(__entry->if_type,
-                                 &offer->offer.if_type.b, 16);
-                          memcpy(__entry->if_instance,
-                                 &offer->offer.if_instance.b, 16);
+                          export_guid(__entry->if_type, &offer->offer.if_type);
+                          export_guid(__entry->if_instance, &offer->offer.if_instance);
                           __entry->chn_flags = offer->offer.chn_flags;
                           __entry->mmio_mb = offer->offer.mmio_megabytes;
                           __entry->sub_idx = offer->offer.sub_channel_index;
@@ -105,6 +103,21 @@ TRACE_EVENT(vmbus_ongpadl_created,
                    )
        );
 
+TRACE_EVENT(vmbus_onmodifychannel_response,
+           TP_PROTO(const struct vmbus_channel_modifychannel_response *response),
+           TP_ARGS(response),
+           TP_STRUCT__entry(
+                   __field(u32, child_relid)
+                   __field(u32, status)
+                   ),
+           TP_fast_assign(__entry->child_relid = response->child_relid;
+                          __entry->status = response->status;
+                   ),
+           TP_printk("child_relid 0x%x, status %d",
+                     __entry->child_relid,  __entry->status
+                   )
+       );
+
 TRACE_EVENT(vmbus_ongpadl_torndown,
            TP_PROTO(const struct vmbus_channel_gpadl_torndown *gpadltorndown),
            TP_ARGS(gpadltorndown),
@@ -296,6 +309,25 @@ TRACE_EVENT(vmbus_send_tl_connect_request,
                    )
        );
 
+TRACE_EVENT(vmbus_send_modifychannel,
+           TP_PROTO(const struct vmbus_channel_modifychannel *msg,
+                    int ret),
+           TP_ARGS(msg, ret),
+           TP_STRUCT__entry(
+                   __field(u32, child_relid)
+                   __field(u32, target_vp)
+                   __field(int, ret)
+                   ),
+           TP_fast_assign(
+                   __entry->child_relid = msg->child_relid;
+                   __entry->target_vp = msg->target_vp;
+                   __entry->ret = ret;
+                   ),
+           TP_printk("binding child_relid 0x%x to target_vp 0x%x, ret %d",
+                     __entry->child_relid, __entry->target_vp, __entry->ret
+                   )
+       );
+
 DECLARE_EVENT_CLASS(vmbus_channel,
        TP_PROTO(const struct vmbus_channel *channel),
        TP_ARGS(channel),