diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-10-29 12:21:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:04:26 +0100 |
commit | 991f8f1c6eb634688952fa6a03cc0ce949b6e363 (patch) | |
tree | 4751fc6d4cb24acca0acd2c409a62f0790bc308c /drivers/hv/connection.c | |
parent | 98f31a0050ca8ba47b57c6d67599013cdbdd2122 (diff) | |
download | lwn-991f8f1c6eb634688952fa6a03cc0ce949b6e363.tar.gz lwn-991f8f1c6eb634688952fa6a03cc0ce949b6e363.zip |
hyper-v: trace channel events
Added an additional set of trace points for when channel gets notified
or signals host.
Suggested-by: Stephen Hemminger <sthemmin@microsoft.com>
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/connection.c')
-rw-r--r-- | drivers/hv/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index 05f413c4fe3b..447371f4de56 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c @@ -322,6 +322,8 @@ void vmbus_on_event(unsigned long data) struct vmbus_channel *channel = (void *) data; unsigned long time_limit = jiffies + 2; + trace_vmbus_on_event(channel); + do { void (*callback_fn)(void *); |