[sheepdog] [PATCH 0/6] employ LTTng for performance analysis and debugging
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Fri Jan 9 08:37:13 CET 2015
LTTng is the de facto standard of tracing framework. This patchset
employes it for performance analysis and debugging of sheepdog. It
would be useful for analyzing bottlenecks.
Hitoshi Mitake (6):
configure: enable LTTng with --enable-lttng-ust option
sheep: use _exit(2) instead of exit(3) in lock_and_daemon() for gcc's
destructors
lib: add a header for a case of disabling LTTng
lib: add tracepoints related to work queue
lib: add tracepoints related to sockfd management
lib: add tracepoints related to event loop
configure.ac | 22 +++++++++-
include/Makefile.am | 2 +-
include/lttng_disable.h | 17 ++++++++
lib/Makefile.am | 8 ++++
lib/event.c | 9 ++++
lib/sockfd_cache.c | 16 +++++++
lib/tracepoint/event_tp.c | 13 ++++++
lib/tracepoint/event_tp.h | 63 +++++++++++++++++++++++++++
lib/tracepoint/sockfd_cache_tp.c | 13 ++++++
lib/tracepoint/sockfd_cache_tp.h | 70 ++++++++++++++++++++++++++++++
lib/tracepoint/work_tp.c | 13 ++++++
lib/tracepoint/work_tp.h | 93 ++++++++++++++++++++++++++++++++++++++++
lib/work.c | 10 +++++
sheep/sheep.c | 4 +-
14 files changed, 349 insertions(+), 4 deletions(-)
create mode 100644 include/lttng_disable.h
create mode 100644 lib/tracepoint/event_tp.c
create mode 100644 lib/tracepoint/event_tp.h
create mode 100644 lib/tracepoint/sockfd_cache_tp.c
create mode 100644 lib/tracepoint/sockfd_cache_tp.h
create mode 100644 lib/tracepoint/work_tp.c
create mode 100644 lib/tracepoint/work_tp.h
--
1.9.1
More information about the sheepdog
mailing list