FROMLIST: sysfs: Add attribute info for /sys/devices/.../coredump_disabled
This patch adds the specification for /sys/devices/.../coredump_disabled attribute which allows the userspace to enable/disable devcoredump for a particular device and drivers can use it to enable/disable functionality accordingly. It is available when the CONFIG_DEV_COREDUMP is enabled and driver has implemented the .coredump() callback. Signed-off-by:Manish Mandlik <mmandlik@google.com> Reviewed-by:
Abhishek Pandit-Subedi <abhishekpandit@chromium.org> (am from https://patchwork.kernel.org/patch/12940739 ) BUG=b:154866409 TEST=Build Change-Id: I5622b2a92dca4d2703a0f747e24f3ef19303e6df Signed-off-by:
Manish Mandlik <mmandlik@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3763750 Reviewed-by:
Abhishek Pandit-Subedi <abhishekpandit@google.com> Tested-by:
Manish Mandlik <mmandlik@chromium.org> Reviewed-by:
Sean Paul <sean@poorly.run> Commit-Queue: Manish Mandlik <mmandlik@chromium.org>
Loading
Please register or sign in to comment