libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 1/1] Fast back-trace for x86_64 for only collec


From: Lassi Tuura
Subject: [Libunwind-devel] [PATCH 1/1] Fast back-trace for x86_64 for only collecting the call stack
Date: Sat, 24 Apr 2010 16:02:47 +0200

From: Lassi Tuura <address@hidden>

Adds new function to perform a pure stack walk without unwinding,
functionally similar to backtrace() but accelerated by an address
attribute cache the caller maintains across calls.
---
(Re-sent with compressed patch to pass list limits.)

include/dwarf.h                   |    1 
include/libunwind-x86_64.h        |   33 +++
include/tdep-arm/libunwind_i.h    |    1 
include/tdep-hppa/libunwind_i.h   |    1 
include/tdep-ia64/libunwind_i.h   |    1 
include/tdep-mips/libunwind_i.h   |    1 
include/tdep-ppc32/libunwind_i.h  |    3 
include/tdep-ppc64/libunwind_i.h  |    3 
include/tdep-x86/libunwind_i.h    |    1 
include/tdep-x86_64/libunwind_i.h |    6 -
src/Makefile.am                   |    8 -
src/arm/init.h                    |    1 
src/dwarf/Gparser.c               |    4 
src/hppa/init.h                   |    1 
src/mips/init.h                   |    1 
src/ppc32/init.h                  |    1 
src/ppc64/init.h                  |    1 
src/x86/init.h                    |    1 
src/x86_64/Ginit_local.c          |    4 
src/x86_64/Gos-linux.c            |   33 +--
src/x86_64/Gstash_frame.c         |   92 ++++++++
src/x86_64/Gstep.c                |   44 +++-
src/x86_64/Gtrace.c               |  401 +++++++++++++++++++++++++++++++++++++
src/x86_64/Lstash_frame.c         |    5 
src/x86_64/Ltrace.c               |    5 
src/x86_64/init.h                 |    1 
tests/Gtest-trace.c               |  265 ++++++++++++++++++++++++
tests/Ltest-trace.c               |    5 
tests/Makefile.am                 |    3 
tests/check-namespace.sh.in       |    6 +
30 files changed, 892 insertions(+), 41 deletions(-)
create mode 100644 src/x86_64/Gstash_frame.c
create mode 100644 src/x86_64/Gtrace.c
create mode 100644 src/x86_64/Lstash_frame.c
create mode 100644 src/x86_64/Ltrace.c
create mode 100644 tests/Gtest-trace.c
create mode 100644 tests/Ltest-trace.c

Attachment: igprof-x64-fast-backtrace.patch.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]