tipc: add trace_events for tipc bearer
authorTuong Lien <tuong.t.lien@dektech.com.au>
Wed, 19 Dec 2018 02:18:00 +0000 (09:18 +0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2018 19:49:25 +0000 (11:49 -0800)
commitcf5f55f7f01397015dfa390256f2c20ceaabfcfb
tree46b7f1e2d168b66b0cdce0f36659f1a6d7abbe84
parenteb18a510b5cd4daeb9736ad8db57a9fc49db185b
tipc: add trace_events for tipc bearer

The commit adds the new trace_event for TIPC bearer, L2 device event:

trace_tipc_l2_device_event()

Also, it puts the trace at the tipc_l2_device_event() function, then
the device/bearer events and related info can be traced out during
runtime when needed.

Acked-by: Ying Xue <ying.xue@windriver.com>
Tested-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Tuong Lien <tuong.t.lien@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/trace.h