From: Vegard Nossum Date: Tue, 20 May 2008 09:15:43 +0000 (+0200) Subject: x86: add save_stack_trace_bp() for tracing from a specific stack frame X-Git-Tag: v2.6.31-rc1~303^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc6be5405b90c9f0fb0eb8a74ec4d4b7b5bf48f;p=pandora-kernel.git x86: add save_stack_trace_bp() for tracing from a specific stack frame 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 Signed-off-by: Vegard Nossum --- Reading git-diff-tree failed