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. Tuong Lien (5): tipc: enable tracepoints in tipc tipc: add trace_events for tipc link tipc: add trace_events for tipc socket tipc: add trace_events for tipc node tipc: add trace_events for tipc bearer net/tipc/Makefile | 4 +- net/tipc/bearer.c | 9 +- net/tipc/bearer.h | 2 +- net/tipc/link.c | 153 ++++++++++++++++++- net/tipc/link.h | 2 + net/tipc/node.c | 86 ++++++++++- net/tipc/node.h | 1 + net/tipc/socket.c | 227 +++++++++++++++++++++++++++- net/tipc/socket.h | 4 + net/tipc/sysctl.c | 8 + net/tipc/trace.c | 206 ++++++++++++++++++++++++++ net/tipc/trace.h | 431 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 1121 insertions(+), 12 deletions(-) create mode 100644 net/tipc/trace.c create mode 100644 net/tipc/trace.h -- 2.13.7