aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-kernel-warn_count
AgeCommit message (Collapse)AuthorFilesLines
2022-12-14docs: Fix path paste-o for /sys/kernel/warn_countKees Cook1-1/+1
Running "make htmldocs" shows that "/sys/kernel/oops_count" was duplicated. This should have been "warn_count": Warning: /sys/kernel/oops_count is defined 2 times: ./Documentation/ABI/testing/sysfs-kernel-warn_count:0 ./Documentation/ABI/testing/sysfs-kernel-oops_count:0 Fix the typo. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/linux-doc/[email protected] Fixes: 8b05aa263361 ("panic: Expose "warn_count" to sysfs") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]>
2022-12-02panic: Expose "warn_count" to sysfsKees Cook1-0/+6
Since Warn count is now tracked and is a fairly interesting signal, add the entry /sys/kernel/warn_count to expose it to userspace. Cc: Petr Mladek <[email protected]> Cc: Andrew Morton <[email protected]> Cc: tangmeng <[email protected]> Cc: "Guilherme G. Piccoli" <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Tiezhu Yang <[email protected]> Reviewed-by: Luis Chamberlain <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]