diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-10-29 20:21:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:04:25 +0100 |
commit | d6706e63367a9c783974db4b94cf8980d31c4cb2 (patch) | |
tree | 3d356a48f9ee0ac24c632b1c4e0e1cb888ce00af /drivers/hv/hv_trace.h | |
parent | hyper-v: trace vmbus_onversion_response() (diff) | |
download | linux-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/hv_trace.h')
-rw-r--r-- | drivers/hv/hv_trace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hv/hv_trace.h b/drivers/hv/hv_trace.h index 2a046547107f..566ac0f2fe56 100644 --- a/drivers/hv/hv_trace.h +++ b/drivers/hv/hv_trace.h @@ -122,6 +122,14 @@ TRACE_EVENT(vmbus_onversion_response, TP_printk("version_supported %d", __entry->ver) ); +TRACE_EVENT(vmbus_request_offers, + TP_PROTO(int ret), + TP_ARGS(ret), + TP_STRUCT__entry(__field(int, ret)), + TP_fast_assign(__entry->ret = ret), + TP_printk("sending ret %d", __entry->ret) + ); + #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH . #undef TRACE_INCLUDE_FILE |