diff options
author | 2018-12-04 19:38:28 -0800 | |
---|---|---|
committer | 2018-12-30 08:31:23 +0000 | |
commit | 162bc7f5afd75b72acbe3c5f3488ef7e64a3fe36 (patch) | |
tree | 28a6c66c667177ad20271d85d332f0e3831b955f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | kgdb: Don't round up a CPU that failed rounding up before (diff) | |
download | wireguard-linux-162bc7f5afd75b72acbe3c5f3488ef7e64a3fe36.tar.xz wireguard-linux-162bc7f5afd75b72acbe3c5f3488ef7e64a3fe36.zip |
kdb: Don't back trace on a cpu that didn't round up
If you have a CPU that fails to round up and then run 'btc' you'll end
up crashing in kdb becaue we dereferenced NULL. Let's add a check.
It's wise to also set the task to NULL when leaving the debugger so
that if we fail to round up on a later entry into the debugger we
won't backtrace a stale task.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions