panic: Add options to dump system info on panic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v21 patch 3 repliesSuperseded
- v1 RFC1 patch 2 repliesSuperseded
Changes in v3 from the cover letter
- Add one patch to add the "panic_print" into sysctl as suggested by Steven Rostedt
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | panic: Add options to print system info when panic happensDocumentation/ kernel/ | +36 | 0 replies | |
| 2/2 | kernel/sysctl: Add panic_print into sysctlDocumentation/ include/ include/ +3 more | +28 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Kees Cook | Steven Rostedt (VMware) |
|---|---|---|
| Series | A-b | |
| 1/2 | R-b | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] panic: Add options to dump system info on panic
Kernel panic issues are always painful to debug, partially
because it's not easy to get enough information of the context when panic happens.
And we have ramoops and kdump for that, while this commit tries to provide a easier way to show the system info by adding a cmdline parameter, referring some idea from sysrq handler.
The patches have been used by us and did help on solving some nasty panic cases.
Please help to review, thanks!
- Feng
Changelog:
v3:
- Add one patch to add the "panic_print" into sysctl as suggested by Steven Rostedt
v2:
- change text "dump/DUMP" to "print/PRINT" which is more accurate, suggested by Andrew Morton
- add code to print ftrace buffer
Feng Tang (2):
panic: Add options to print system info when panic happens kernel/sysctl: Add panic_print into sysctl
Documentation/admin-guide/kernel-parameters.txt | 8 +++++++ Documentation/sysctl/kernel.txt | 17 +++++++++++++++ include/linux/kernel.h | 1 + include/uapi/linux/sysctl.h | 1 + kernel/panic.c | 28 +++++++++++++++++++++++++ kernel/sysctl.c | 7 +++++++ kernel/sysctl_binary.c | 1 + 7 files changed, 63 insertions(+)
Signature · 1 line
2.7.4