diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-02 07:32:16 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-02 09:59:03 +0100 |
commit | 1cedae72904b85462082dbcfd5190309ba37f8bd (patch) | |
tree | 43c5873e8b8c1d65acd62fd5a609117fdee7c0da /tools/perf/util/probe-event.c | |
parent | tracing/syscalls: Make syscall events print callbacks static (diff) | |
download | linux-1cedae72904b85462082dbcfd5190309ba37f8bd.tar.xz linux-1cedae72904b85462082dbcfd5190309ba37f8bd.zip |
hw-breakpoints: Keep track of user disabled breakpoints
When we disable a breakpoint through dr7, we unregister it right
away, making us lose track of its corresponding address
register value.
It means that the following sequence would be unsupported:
- set address in dr0
- enable it through dr7
- disable it through dr7
- enable it through dr7
because we lost the address register value when we disabled the
breakpoint.
Don't unregister the disabled breakpoints but rather disable
them.
Reported-by: "K.Prasad" <prasad@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1259735536-9236-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/probe-event.c')
0 files changed, 0 insertions, 0 deletions