]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] kprobe: make kreturn probe handler stack unwind correct
authorShaohua Li <shaohua.li@intel.com>
Tue, 13 Nov 2007 06:55:20 +0000 (14:55 +0800)
committerTony Luck <tony.luck@intel.com>
Sat, 8 Dec 2007 00:12:50 +0000 (16:12 -0800)
commite917e41303fae11e185196fc6858b064b17e1646
tree896f2b9a6580423cc7629dce446e7483eaba313c
parent374efc83c7e1a8a6309c6d6e2d786231c8f86a31
[IA64] kprobe: make kreturn probe handler stack unwind correct

Restore regs->ccr_iip before kreturn probe handler runs. In this way, if
probe handler does unwind, unwind can correctly get the stack trace.

Fixes: http://sourceware.org/bugzilla/show_bug.cgi?id=5051
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/kprobes.c