diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-17 01:44:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-18 03:10:27 +0300 |
commit | ec9663812f32c03e36c8c2ccc83e52dd5a7486d9 (patch) | |
tree | 07a44316a956f8124b43dea0abd3648e06a81cf1 /drivers/net/hyperv/netvsc_trace.c | |
parent | 0e96460e620df7f9a13c352b68b06f02eec3de94 (diff) | |
download | linux-ec9663812f32c03e36c8c2ccc83e52dd5a7486d9.tar.xz |
hv_netvsc: add trace points
This adds tracepoints to the driver which has proved useful in
debugging startup and shutdown race conditions.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_trace.c')
-rw-r--r-- | drivers/net/hyperv/netvsc_trace.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/hyperv/netvsc_trace.c b/drivers/net/hyperv/netvsc_trace.c new file mode 100644 index 000000000000..bb0ce5a2bcd5 --- /dev/null +++ b/drivers/net/hyperv/netvsc_trace.c @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#include <linux/netdevice.h> + +#include "hyperv_net.h" + +#define CREATE_TRACE_POINTS +#include "netvsc_trace.h" |