diff options
| author | Oleg Nesterov <[email protected]> | 2013-07-08 16:00:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:26 -0700 |
| commit | e6a7d6077106e5c72f0519ec113d986df67ee001 (patch) | |
| tree | 90ff605d73b95af65700d47af64029b71c98cf5f /tools/perf/scripts/python | |
| parent | 7c8df28633bf0b7eb253f866029be0ac59ddb062 (diff) | |
ptrace/x86: simplify the "disable" logic in ptrace_write_dr7()
ptrace_write_dr7() looks unnecessarily overcomplicated. We can factor
out ptrace_modify_breakpoint() and do not do "continue" twice, just we
need to pass the proper "disabled" argument to
ptrace_modify_breakpoint().
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jan Kratochvil <[email protected]>
Cc: Michael Neuling <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Prasad <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions