]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Updates and enhancements to io.d to aid DTrace scripting
authordteske <dteske@FreeBSD.org>
Sat, 24 Feb 2018 17:13:15 +0000 (17:13 +0000)
committerdteske <dteske@FreeBSD.org>
Sat, 24 Feb 2018 17:13:15 +0000 (17:13 +0000)
commit3b5903943c51bdb84641cdc4c005184bd8c5a13c
tree5de6d1b29c5a5c2b791d890963d0a4a7d84289af
parent6130a420db404116d89d1f2227fc389cd64d9618
Updates and enhancements to io.d to aid DTrace scripting

+ Add dev_type do devinfo_t
+ Add b_cmd to bufinfo_t
+ Add constants for BIO_* and DEVSTAT_TYPE_*
+ Add inline for converting BIO_* int to string
+ Add inline for converting DEVSTAT_TYPE_* int to string
+ Add mask for dev_type & DEVSTAT_TYPE_MASK to string
+ Add mask for dev_type & DEVSTAT_TYPE_IF_MASK to string

Reviewed by: markj
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/D14396
cddl/lib/libdtrace/io.d