This patchset makes it possible to use kdb's ftdump command without panicing, crashing or livelocking.
Changes since v1:
* Fixed use-after-free problems in v1 by adding logic to NULL out buffer_iter during free operations.
* Introduced a second patch to fix a live lock when trying to display an empty trace buffer.
Daniel Thompson (2): trace: kdb: Fix kernel panic during ftdump trace: kdb: Fix kernel livelock with empty buffers
kernel/trace/trace_kdb.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
-- 1.9.3