• V
    x86: add save_stack_trace_bp() for tracing from a specific stack frame · acc6be54
    Vegard Nossum 提交于
    This will help kmemcheck (and possibly other debugging tools) since we
    can now simply pass regs->bp to the stack tracer instead of specifying
    the number of stack frames to skip, which is unreliable if gcc decides
    to inline functions, etc.
    
    Note that this makes the API incomplete for other architectures, but I
    expect that those can be updated lazily, e.g. when they need it.
    
    Cc: Arjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: NVegard Nossum <vegard.nossum@gmail.com>
    acc6be54
stacktrace.h 981 字节