[PATCH v4 00/37] ldv/unwind: improve stacktrace feature

Masatake YAMATO yamato at redhat.com
Wed Apr 16 06:32:58 UTC 2014


This patch set is for improving stacktrace feature.
The review result of Dmitry V. Levin <ldv at altlinux.org> are 
reflected.

You can try the patch incremental. About any n (0 < n < 38), you can
apply patches from 1 to n to the source tree, compile it and run ./strace.

Masatake YAMATO (37):
  unwind: fix a bug in range updating of binary search
  unwind: make alloc_mmap_cache unwind.c local
  unwind: delete mmap cache in free_libunwind_ui
  unwind: add unwind_ as prefix to functions exported from unwind.c
  unwind: rename unwind_delete_mmap_cache to unwind_cache_invalidate
  unwind: introduce stacktrace_walker
  unwind: introduce unwind.c own debug macro
  unwind: introduce queue_t for capturing stacktrace
  unwind: consider multi-threading when rebuilding mmap cache
  unwind: call unwind_tcb_fin before printing detached message
  unwind: report expected backtracing error
  unwind: enable dwarf cache of libunwind
  unwind: introduce markers specifying the needs of special care in
    unwinding
  unwind: x86_64: mark system calls with SI and SE
  unwind: i386: mark system calls with SI and SE
  unwind: arm: mark system calls with SI and SE
  unwind: x32: mark system calls with SI and SE
  unwind: xtensa: mark system calls with SI and SE
  unwind: tile: mark system calls with SI and SE
  unwind: sparc: mark system calls with SI and SE
  unwind: sh64: mark system calls with SI and SE
  unwind: sh: mark system calls with SI and SE
  unwind: s390x: mark system calls with SI and SE
  unwind: s390: mark system calls with SI and SE
  unwind: powerpc: mark system calls with SI and SE
  unwind: or1k: mark system calls with SI and SE
  unwind: mips: mark system calls with SI and SE
  unwind: microblaze: mark system calls with SI and SE
  unwind: metag: mark system calls with SI and SE
  unwind: m68k: mark system calls with SI and SE
  unwind: hppa: mark system calls with SI and SE
  unwind: bfin: mark system calls with SI and SE
  unwind: avr32: mark system calls with SI and SE
  unwind: arc: mark system calls with SI and SE
  unwind: alpha: mark system calls with SI and SE
  unwind: aarch64: mark system calls with SI and SE
  unwind: stacktrace capturing and mmap cache invalidating at
    trace_syscall_entering

 defs.h                         |  16 +-
 linux/aarch64/syscallent1.h    |  24 +--
 linux/alpha/syscallent.h       |  30 ++--
 linux/arc/syscallent.h         |  22 +--
 linux/arm/syscallent.h         |  28 ++--
 linux/avr32/syscallent.h       |  22 +--
 linux/bfin/syscallent.h        |  24 +--
 linux/hppa/syscallent.h        |  24 +--
 linux/i386/syscallent.h        |  24 +--
 linux/m68k/syscallent.h        |  24 +--
 linux/metag/syscallent.h       |  22 +--
 linux/microblaze/syscallent.h  |  24 +--
 linux/mips/syscallent-compat.h |  50 +++---
 linux/mips/syscallent-n32.h    |  44 ++---
 linux/mips/syscallent-n64.h    |  44 ++---
 linux/mips/syscallent-o32.h    |  40 ++---
 linux/or1k/syscallent.h        |  20 +--
 linux/powerpc/syscallent.h     |  24 +--
 linux/s390/syscallent.h        |  24 +--
 linux/s390x/syscallent.h       |  22 +--
 linux/sh/syscallent.h          |  24 +--
 linux/sh64/syscallent.h        |  24 +--
 linux/sparc/syscallent.h       |  24 +--
 linux/sparc/syscallent1.h      |  18 +-
 linux/tile/syscallent.h        |  22 +--
 linux/tile/syscallent1.h       |  22 +--
 linux/x32/syscallent.h         |  26 +--
 linux/x86_64/syscallent.h      |  22 +--
 linux/xtensa/syscallent.h      |  22 +--
 mem.c                          |  17 --
 process.c                      |   7 -
 strace.c                       |  16 +-
 syscall.c                      |  20 ++-
 unwind.c                       | 370 +++++++++++++++++++++++++++++++++++++----
 34 files changed, 743 insertions(+), 443 deletions(-)

-- 
1.9.0





More information about the Strace-devel mailing list