Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36d1d09a authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman
Browse files

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: default avatarArend van Spriel <aspriel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5e19233
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
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.