sysfs: add attribute specification for /sysfs/devices/.../coredump
authorArend van Spriel <aspriel@gmail.com>
Thu, 11 Jan 2018 08:36:37 +0000 (09:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 08:47:05 +0000 (09:47 +0100)
commit36d1d09af1b97113cd014fd50694000ac3ca2824
treedb0e910b7deb7688bda0b00cd5fa5902f6bc537f
parenta5e1923356505e46476c2fb518559b7a4d9d25b1
sysfs: add attribute specification for /sysfs/devices/.../coredump

This patch adds the specification for /sysfs/devices/.../coredump
which allows user-space to trigger a device coredump obtaining
binary data from the device for (fault) analysis. It relies on
CONFIG_DEV_COREDUMP being enabled.

Signed-off-by: Arend van Spriel <aspriel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-devices-coredump [new file with mode: 0644]