diff options
| author | Masami Hiramatsu <[email protected]> | 2009-09-08 12:47:55 -0400 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2009-09-11 03:59:35 +0200 |
| commit | a00e817f42663941ea0aa5f85a9d1c4f8b212839 (patch) | |
| tree | 40d2f5e86bf58e4250066fa8cb606a8157e9019b /tools/perf/scripts/python | |
| parent | f12b4f546b4e327d5620a544a2bddab68de66027 (diff) | |
kprobes/x86-32: Move irq-exit functions to kprobes section
Move irq-exit functions to .kprobes.text section to protect against
kprobes recursion.
When I ran kprobe stress test on x86-32, I found below symbols
cause unrecoverable recursive probing:
ret_from_exception
ret_from_intr
check_userspace
restore_all
restore_all_notrace
restore_nocheck
irq_return
And also, I found some interrupt/exception entry points that
cause similar problems.
This patch moves those symbols (including their container functions)
to .kprobes.text section to prevent any kprobes probing.
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Jim Keniston <[email protected]>
Cc: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions