lkml.org 
[lkml]   [2009]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] tracing: add latency format to function_graph tracer
    On Fri, Sep 11, 2009 at 07:08:00PM +0300, Török Edwin wrote:
    >
    > BTW any plans on integrating an in-kernel unwinder like systemtap has?
    >
    > Even if I build libc with framepointers, a userspace stacktrace on
    > x86-64 can't go beyond most pthreads routines, like __read_nocancel
    > (they're written in asm maybe?).
    >

    fyi SH has an in-kernel DWARF unwinder. It was my intention to shake out
    most of the bugs (of which there have been a few) by having it in the SH
    tree and then submit it for generic inclusion.

    So by carefully placing .cfi_* directives in assembly, you can get
    stacktraces for assembly routines in the kernel.

    The branch containing the latest code is here,
    http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=shortlog;h=sh/dwarf-unwinder
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-09-12 12:29    [W:0.032 / U:28.704 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site