diff options
author | Daniel Thompson <[email protected]> | 2020-09-27 22:15:31 +0100 |
---|---|---|
committer | Daniel Thompson <[email protected]> | 2020-10-01 14:23:45 +0100 |
commit | 771910f719651789adee8260e1a2c4c0ba161007 (patch) | |
tree | 46ca7c263937d2d811db8dced559df750d80b4d6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 4c4197eda710d197c7474abcceb3f8789ec22a64 (diff) |
kernel: debug: Centralize dbg_[de]activate_sw_breakpoints
During debug trap execution we expect dbg_deactivate_sw_breakpoints()
to be paired with an dbg_activate_sw_breakpoint(). Currently although
the calls are paired correctly they are needlessly smeared across three
different functions. Worse this also results in code to drive polled I/O
being called with breakpoints activated which, in turn, needlessly
increases the set of functions that will recursively trap if breakpointed.
Fix this by moving the activation of breakpoints into the debug core.
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions