mbox series

[net-next,0/5] tipc: tracepoints and trace_events in TIPC

Message ID 20181219021800.21662-1-tuong.t.lien@dektech.com.au
Headers show
Series tipc: tracepoints and trace_events in TIPC | expand

Message

Tuong Lien Dec. 19, 2018, 2:17 a.m. UTC
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

Comments

David Miller Dec. 19, 2018, 7:49 p.m. UTC | #1
From: Tuong Lien <tuong.t.lien@dektech.com.au>
Date: Wed, 19 Dec 2018 09:17:55 +0700

> 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.

Series applied, thank you.