summaryrefslogtreecommitdiff
path: root/usr/src/common
diff options
context:
space:
mode:
authorJoshua M. Clulow <jmc@joyent.com>2012-11-27 08:55:56 +0000
committerRichard Lowe <richlowe@richlowe.net>2014-02-25 12:53:29 -0500
commitf497f9fe231e0e400f339c84a7d80c4aae2ac4d5 (patch)
treedb57208c9d59056b7465112c0cec0cd97e1674f3 /usr/src/common
parentb0f673c4626e4cb1db7785287eaeed2731dfefe8 (diff)
downloadillumos-joyent-f497f9fe231e0e400f339c84a7d80c4aae2ac4d5.tar.gz
4477 DTrace should speak JSON
Reviewed by: Bryan Cantrill <bmc@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/common')
-rw-r--r--usr/src/common/util/strtolctype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/common/util/strtolctype.h b/usr/src/common/util/strtolctype.h
index 7b7afc6e30..5675e42be7 100644
--- a/usr/src/common/util/strtolctype.h
+++ b/usr/src/common/util/strtolctype.h
@@ -38,6 +38,10 @@ extern "C" {
* This header file contains a collection of macros that the strtou?ll?
* functions in common/util use to test characters. What we need is a kernel
* version of ctype.h.
+ *
+ * NOTE: These macros are used within several DTrace probe context functions.
+ * They must not be altered to make function calls or perform actions not
+ * safe in probe context.
*/
#if defined(_KERNEL) && !defined(_BOOT)