[sheepdog] [PATCH 0/2] trace: make it easy to debug sheep with tracer

MORITA Kazutaka morita.kazutaka at gmail.com
Fri Aug 30 16:14:51 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Currently, the result of backtrace is broken when tracer is enabled.
It is because our tracer modifies a stack information to inject
trace_function_exit().  This series fixes the broken stack in
crash_handler() to solve the problem.

MORITA Kazutaka (2):
  work: allow worker threads to call suspend_worker_threads()
  trace: fix stack before dumping a core file

 include/work.h      |    1 +
 lib/work.c          |   21 +++++++++++++++++++++
 sheep/sheep.c       |    2 ++
 sheep/trace/trace.c |   28 ++++++++++++++++++++++++++++
 sheep/trace/trace.h |    2 ++
 5 files changed, 54 insertions(+)

-- 
1.7.9.5




More information about the sheepdog mailing list