diff options
| author | Steven Rostedt <[email protected]> | 2010-11-10 11:56:12 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2010-11-13 02:20:08 +0000 |
| commit | 91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e (patch) | |
| tree | 26d7afb8373474a4d44d0eba4130499676c35bc7 /tools/perf/scripts/python | |
| parent | tracing: Force arch_local_irq_* notrace for paravirt (diff) | |
| download | kernel-91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e.tar.gz kernel-91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e.zip | |
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 <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
