diff options
| author | Masami Hiramatsu <[email protected]> | 2009-08-27 13:22:58 -0400 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2009-08-30 03:08:26 +0200 |
| commit | e9afe9e1b3fdbd56cca53959a2519e70db9c8095 (patch) | |
| tree | 6b74d50fb3504b10b3504e5fa3183d1a5ba7e9a6 /tools/perf/scripts/python | |
| parent | f8468f3695209735c1595342f6bd95f7bdab66e1 (diff) | |
kprobes/x86: Call BUG() when reentering probe into KPROBES_HIT_SS
Call BUG() when a probe have been hit on the way of kprobe processing
path, because that kind of probes are currently unrecoverable
(recovering it will cause an infinite loop and stack overflow).
The original code seems to assume that it's caused by an int3
which another subsystem inserted on out-of-line singlestep buffer if
the hitting probe is same as current probe. However, in that case,
int3-hitting-address is on the out-of-line buffer and should be
different from first (current) int3 address.
Thus, I decided to remove the code.
I also removes arch_disarm_kprobe() because it will involve other stuffs
in text_poke().
Signed-off-by: Masami Hiramatsu <[email protected]>
Acked-by: Ananth N Mavinakayanahalli <[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