summaryrefslogtreecommitdiffstats
path: root/net/tipc/link.h
diff options
context:
space:
mode:
authorDavid S. Miller2018-12-19 20:49:25 +0100
committerDavid S. Miller2018-12-19 20:49:25 +0100
commit013dc9d55c2ee47bb4a509e10c5cad404059b686 (patch)
tree46b7f1e2d168b66b0cdce0f36659f1a6d7abbe84 /net/tipc/link.h
parentMerge branch 'sk_buff-add-extension-infrastructure' (diff)
parenttipc: add trace_events for tipc bearer (diff)
downloadkernel-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/link.h')
-rw-r--r--net/tipc/link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/link.h b/net/tipc/link.h
index 90488c538a4e..8439e0ee53a8 100644
--- a/net/tipc/link.h
+++ b/net/tipc/link.h
@@ -109,6 +109,7 @@ u16 tipc_link_rcv_nxt(struct tipc_link *l);
u16 tipc_link_acked(struct tipc_link *l);
u32 tipc_link_id(struct tipc_link *l);
char *tipc_link_name(struct tipc_link *l);
+char *tipc_link_name_ext(struct tipc_link *l, char *buf);
u32 tipc_link_state(struct tipc_link *l);
char tipc_link_plane(struct tipc_link *l);
int tipc_link_prio(struct tipc_link *l);
@@ -147,4 +148,5 @@ int tipc_link_bc_sync_rcv(struct tipc_link *l, struct tipc_msg *hdr,
struct sk_buff_head *xmitq);
int tipc_link_bc_nack_rcv(struct tipc_link *l, struct sk_buff *skb,
struct sk_buff_head *xmitq);
+bool tipc_link_too_silent(struct tipc_link *l);
#endif