diff options
author | David S. Miller | 2018-12-19 20:49:25 +0100 |
---|---|---|
committer | David S. Miller | 2018-12-19 20:49:25 +0100 |
commit | 013dc9d55c2ee47bb4a509e10c5cad404059b686 (patch) | |
tree | 46b7f1e2d168b66b0cdce0f36659f1a6d7abbe84 /net/tipc/bearer.h | |
parent | Merge branch 'sk_buff-add-extension-infrastructure' (diff) | |
parent | tipc: add trace_events for tipc bearer (diff) | |
download | kernel-qcow2-linux-013dc9d55c2ee47bb4a509e10c5cad404059b686.tar.gz kernel-qcow2-linux-013dc9d55c2ee47bb4a509e10c5cad404059b686.tar.xz kernel-qcow2-linux-013dc9d55c2ee47bb4a509e10c5cad404059b686.zip |
Merge branch 'tipc-tracepoints'
Tuong Lien says:
====================
tipc: tracepoints and trace_events in TIPC
The patch series is the first step of introducing a tracing framework in
TIPC, which will assist in collecting complete & plentiful data for post
analysis, even in the case of a single failure occurrence e.g. when the
failure is unreproducible.
The tracing code in TIPC utilizes the powerful kernel tracepoints, trace
events features along with particular dump functions to trace the TIPC
object data and events (incl. bearer, link, socket, node, etc.).
The tracing code should generate zero-load to TIPC when the trace events
are not enabled.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r-- | net/tipc/bearer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 394290cbbb1d..7f4c569594a5 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h @@ -207,7 +207,7 @@ int __tipc_nl_media_set(struct sk_buff *skb, struct genl_info *info); int tipc_media_set_priority(const char *name, u32 new_value); int tipc_media_set_window(const char *name, u32 new_value); -void tipc_media_addr_printf(char *buf, int len, struct tipc_media_addr *a); +int tipc_media_addr_printf(char *buf, int len, struct tipc_media_addr *a); int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, struct nlattr *attrs[]); void tipc_disable_l2_media(struct tipc_bearer *b); |