diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-03 02:29:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-08 02:12:03 +0200 |
commit | c4e00daaa96d3a0786f1f4fe6456281c60ef9a16 (patch) | |
tree | 802b018c8ee8280db04b03224e4d2d61e232d94b /Documentation | |
parent | kmsg: export printk records to the /dev/kmsg interface (diff) | |
download | linux-c4e00daaa96d3a0786f1f4fe6456281c60ef9a16.tar.xz linux-c4e00daaa96d3a0786f1f4fe6456281c60ef9a16.zip |
driver-core: extend dev_printk() to pass structured data
Extends dev_printk() to attach a dictionary with a device identifier
and the driver core subsystem name to logged messages, which makes
dev_prink() reliable machine-readable. In addition to the printed
plain text message, it creates these properties:
SUBSYSTEM= - the driver-core subsytem name
DEVICE=
b12:8 - block dev_t
c127:3 - char dev_t
n8 - netdev ifindex
+sound:card0 - subsystem:devname
Tested-by: William Douglas <william.douglas@intel.com>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions