diff options
| author | Michal Suchanek <[email protected]> | 2018-05-23 20:00:54 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-05-25 00:08:26 +1000 |
| commit | 7daf59300999693b85233762b847f1b2313cccbd (patch) | |
| tree | 3fc1422e3f23cb96b956141ddc4b825a607b92d4 /tools/perf/scripts/python | |
| parent | e4ccb1dae6bdef228d729c076c38161ef6e7ca34 (diff) | |
powerpc/xmon: Also setup debugger hooks when single-stepping
When single-stepping kernel code from xmon without a debug hook
enabled the kernel crashes. This can happen when kernel starts with
xmon on crash disabled but xmon is entered using sysrq.
Call force_enable_xmon when single-stepping in xmon to install the
xmon debug hooks.
Fixes: e1368d0c9edb ("powerpc/xmon: Setup debugger hooks when first break-point is set")
Signed-off-by: Michal Suchanek <[email protected]>
Reviewed-by: Vaibhav Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions