]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r251166:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 22 Jun 2013 04:52:12 +0000 (04:52 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 22 Jun 2013 04:52:12 +0000 (04:52 +0000)
commit8e909d59a401157688859343089fe469e33d525a
tree4ed3a27b5c032295b896c6723a3df84bfa235be6
parent28d481cab708c44cb80236282395e76ef80ceac6
MFC r251166:
Add macros which allow one to define SDT probes with six or seven arguments;
they are needed when porting some of the Solaris providers (ip, iscsi, and
tcp in particular).

dtrace_probe() only takes five arguments from the probe site, so we need to
add the appropriate cast to allow for more than five arguments. The extra
arguments are later copied out of dtrace_probe()'s stack frame by
dtrace_getarg() (or the provider-specific getarg method) as needed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@252090 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/sdt.h