Skip to content

Commit 36d1d09

Browse files
asprielgregkh
authored andcommitted
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>
1 parent a5e1923 commit 36d1d09

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
What: /sys/devices/.../coredump
2+
Date: December 2017
3+
Contact: Arend van Spriel <aspriel@gmail.com>
4+
Description:
5+
The /sys/devices/.../coredump attribute is only present when the
6+
device is bound to a driver, which provides the .coredump()
7+
callback. The attribute is write only. Anything written to this
8+
file will trigger the .coredump() callback.
9+
10+
Available when CONFIG_DEV_COREDUMP is enabled.

0 commit comments

Comments
 (0)