From: Steven Rostedt Date: Wed, 10 Nov 2010 11:56:12 +0000 (+0100) Subject: tracing: Fix recursive user stack trace X-Git-Tag: v2.6.37-rc4~19^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e;p=pandora-kernel.git tracing: Fix recursive user stack trace The user stack trace can fault when examining the trace. Which would call the do_page_fault handler, which would trace again, which would do the user stack trace, which would fault and call do_page_fault again ... Thus this is causing a recursive bug. We need to have a recursion detector here. [ Resubmitted by Jiri Olsa ] [ Eric Dumazet recommended using __this_cpu_* instead of __get_cpu_* ] Cc: Eric Dumazet Signed-off-by: Jiri Olsa LKML-Reference: <1289390172-9730-3-git-send-email-jolsa@redhat.com> Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed