From: Ananth N Mavinakayanahalli Date: Tue, 8 May 2007 07:28:27 +0000 (-0700) Subject: Kprobes: print details of kretprobe on assertion failure X-Git-Tag: v2.6.22-rc1~692 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f95b7fc839bc3272b1bf2325d8748a649bd3534;p=pandora-kernel.git Kprobes: print details of kretprobe on assertion failure In certain cases like when the real return address can't be found or when the number of tracked calls to a kretprobed function is less than the number of returns, we may not be able to find the correct return address after processing a kretprobe. Currently we just do a BUG_ON, but no information is provided about the actual failing kretprobe. Print out details of the kretprobe before calling BUG(). Signed-off-by: Ananth N Mavinakayanahalli Cc: Prasanna S Panchamukhi Cc: Jim Keniston Cc: Anil S Keshavamurthy Cc: Maneesh Soni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed