diff options
author | Ryan Stone <rstone@FreeBSD.org> | 2012-04-26 01:07:03 +0000 |
---|---|---|
committer | Ryan Stone <rstone@FreeBSD.org> | 2012-04-26 01:07:03 +0000 |
commit | c6024848dd34ab418f4c887a9eb64e5b767a2132 (patch) | |
tree | cc38832de860647583832a494b9f77f94b0603aa /cddl | |
parent | 529361557014aee9a83f4db79dd4836173ab99b9 (diff) | |
download | src-test2-c6024848dd34ab418f4c887a9eb64e5b767a2132.tar.gz src-test2-c6024848dd34ab418f4c887a9eb64e5b767a2132.zip |
Notes
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c index 962da1a884b9..e77952d4d7ee 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c @@ -497,6 +497,12 @@ static const dt_ident_t _dtrace_globals[] = { { "zonename", DT_IDENT_SCALAR, 0, DIF_VAR_ZONENAME, DT_ATTR_STABCMN, DT_VERS_1_0, &dt_idops_type, "string" }, #endif + +#if !defined(sun) +{ "cpu", DT_IDENT_SCALAR, 0, DIF_VAR_CPU, + DT_ATTR_STABCMN, DT_VERS_1_6_3, &dt_idops_type, "int" }, +#endif + { NULL, 0, 0, 0, { 0, 0, 0 }, 0, NULL, NULL } }; |