blob: 4bcfc7dbad673a532ae66f78d04f77e1b99fa69f [file] [log] [blame]
What: /sys/devices/.../coredump
Date: December 2017
Contact: Arend van Spriel <aspriel@gmail.com>
Description:
The /sys/devices/.../coredump attribute is only present when the
device is bound to a driver, which provides the .coredump()
callback. The attribute is write only. Anything written to this
file will trigger the .coredump() callback.
Available when CONFIG_DEV_COREDUMP is enabled.
What: /sys/devices/.../coredump_disabled
Date: July 2022
Contact: Manish Mandlik <mmandlik@google.com>
Description:
The /sys/devices/.../coredump_disabled attribute can be used by
drivers to selectively enable/disable devcoredump functionality
for a device. The userspace can write 0/1 to it to control
enabling/disabling of devcoredump for that particular device.
This attribute is present only when the device is bound to a
driver which implements the .coredump() callback. The attribute
is readable and writeable.
Available when CONFIG_DEV_COREDUMP is enabled.