RFC generalize panic_print's dump function to be
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | kernel/panic: generalize panic_print's function to show sys infoinclude/ kernel/ | +34 | 0 replies | |
| 2/3 | kernel/hung_task: add option to dump system info when hung task detectedkernel/ | +16 | 4 replies | |
| 3/3 | kernel/watchdog: add option to dump system info when system is locked upkernel/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/3] generalize panic_print's dump function to be
When working on kernel stability issues, panic, task-hung and software/hardware lockup are frequently met. And to debug them, user may need lots of system information at that time, like task call stacks, lock info, memory info etc.
panic case already has panic_print_sys_info() for this purpose, and has a 'panic_print' bitmask to control what kinds of information is needed, which is also helpful to debug other task-hung and lockup cases.
So this patchset extract the function out, and make it usable for other cases which also need system info for debugging.
Locally these have been used in our bug chasing for stablility issues and was helpful.
Please help to review, thanks!
- Feng
Feng Tang (3):
kernel/panic: generalize panic_print's function to show sys info kernel/hung_task: add option to dump system info when hung task
detected
kernel/watchdog: add option to dump system info when system is locked
up
include/linux/panic.h | 12 ++++++++++++ kernel/hung_task.c | 29 +++++++++++++++------------- kernel/panic.c | 44 +++++++++++++++++++++---------------------- kernel/watchdog.c | 11 +++++++++++ 4 files changed, 61 insertions(+), 35 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)