]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r258625: sdt: add support for solaris/illumos style DTRACE_PROBE macros
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 14:47:52 +0000 (14:47 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 14:47:52 +0000 (14:47 +0000)
commit88dadb3df6c5a2832047615f97897dbf8caa0084
treee4fcd119784fae786e9ddd3c7a0d7efe2942f013
parent37a479faa6019fec5d9ea058ae79bbc44f7eed19
MFC r258625: sdt: add support for solaris/illumos style DTRACE_PROBE macros

Note: in head KDTRACE_HOOKS is defined in opt_global.h and thus there is
no need to explicitly include any header to check that option.
In this branch we have to include opt_kdtrace.h and, so, this commit
carries additional changes to accomodate for that difference.

Sponsored by: HybridCluster

git-svn-id: svn://svn.freebsd.org/base/stable/10@262058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/compat/opensolaris/sys/sdt.h
sys/kern/kern_sdt.c
sys/modules/zfs/Makefile
sys/sys/sdt.h