aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2014-04-17 17:16:51 +0900
committerIngo Molnar <[email protected]>2014-04-24 10:02:55 +0200
commit6a5022a56ac37da7bffece043331a101ed0040b1 (patch)
treeefe8e5aadff08546e7a2836bf992961601a2d213 /lib/test-string_helpers.c
parent4d0fa8a0f01272d4de33704f20303dcecdb55df1 (diff)
kprobes/x86: Allow to handle reentered kprobe on single-stepping
Since the NMI handlers(e.g. perf) can interrupt in the single stepping (or preparing the single stepping, do_debug etc.), we should consider a kprobe is hit in the NMI handler. Even in that case, the kprobe is allowed to be reentered as same as the kprobes hit in kprobe handlers (KPROBE_HIT_ACTIVE or KPROBE_HIT_SSDONE). The real issue will happen when a kprobe hit while another reentered kprobe is processing (KPROBE_REENTER), because we already consumed a saved-area for the previous kprobe. Signed-off-by: Masami Hiramatsu <[email protected]> Reviewed-by: Steven Rostedt <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Jonathan Lebon <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions