freebsd-skq/sys/cddl
Mark Johnston 224e0c2f61 Add "jid" and "jailname" variables to DTrace.
These return the jail ID and jail name for the traced process,
respectively, and are analogous to "zonename" on Solaris/illumos.
"zonename" is now aliased to "jailname".

Also add some stress tests for the new variables.

Submitted by:	Domagoj Stolfa <domagoj.stolfa@gmail.com>
Reviewed by:	dteske (previous version)
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D13877
2018-01-12 19:59:46 +00:00
..
boot/zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
compat/opensolaris Fix arc after r326347 broke various memory limit queries. Use UMA features 2018-01-02 04:35:56 +00:00
contrib/opensolaris Add "jid" and "jailname" variables to DTrace. 2018-01-12 19:59:46 +00:00
dev Avoid CPU migration in dtrace_gethrtime() on x86. 2017-12-18 17:26:24 +00:00