]> git.baikalelectronics.ru Git - kernel.git/commit
s390/uprobes: fix user space PER events
authorJan Willeke <willeke@de.ibm.com>
Thu, 8 Jan 2015 15:56:01 +0000 (16:56 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jan 2015 09:24:58 +0000 (10:24 +0100)
commite19c536bf877d928afa7a9edf977bd45a5be7d22
tree008af6bec9e5772b6e9338695c4a9635a3d70402
parentc55ee739aab2000f49283a669a5cc94ae8848e47
s390/uprobes: fix user space PER events

If uprobes are single stepped for example with gdb, the behavior should
now be correct. Before this patch, when gdb was single stepping a uprobe,
the result was a SIGILL.
When PER is active for any storage alteration and a uprobe is hit, a storage
alteration event is indicated. These over indications are filterd out by gdb,
if no change has happened within the observed area.

Signed-off-by: Jan Willeke <willeke@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/uprobes.c