Skip to content
Snippets Groups Projects
Commit 2f3eb0a8 authored by Manish Mandlik's avatar Manish Mandlik Committed by Google Cont Rebase
Browse files

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: default avatarManish Mandlik <mmandlik@google.com>
Reviewed-by: default avatarAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
(am from https://patchwork.kernel.org/patch/12940739

)

BUG=b:154866409
TEST=Build

Change-Id: I5622b2a92dca4d2703a0f747e24f3ef19303e6df
Signed-off-by: default avatarManish Mandlik <mmandlik@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3763750


Reviewed-by: default avatarAbhishek Pandit-Subedi <abhishekpandit@google.com>
Tested-by: default avatarManish Mandlik <mmandlik@chromium.org>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Commit-Queue: Manish Mandlik <mmandlik@chromium.org>
parent 2ec38e5e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment