diff options
author | jb <jb@FreeBSD.org> | 2008-05-25 20:24:07 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-05-25 20:24:07 +0000 |
commit | 2f956b205ca6c855f85983809448ddc387407d46 (patch) | |
tree | 6e8ca93d441c3f030dab3f6ec9a7a28b624a56fe | |
parent | 4755d9654185966ed6345a8eedb3cd6863a99000 (diff) | |
download | FreeBSD-src-2f956b205ca6c855f85983809448ddc387407d46.zip FreeBSD-src-2f956b205ca6c855f85983809448ddc387407d46.tar.gz |
Comment out the code that breaks with invariants. This is stuff that is
still WIP along with the lockstat provider, so there is no harm leaving
it out for now.
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c index c85f7b1..d47fd48 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c +++ b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c @@ -3277,11 +3277,13 @@ dtrace_dif_subr(uint_t subr, uint_t rd, uint64_t *regs, /* XXX - need to use dtrace_canload() and dtrace_loadptr() */ m.mx = tupregs[0].dttk_value; +#ifdef DOODAD if (LO_CLASSINDEX(&(m.mi->lock_object)) < 2) { regs[rd] = !(m.mi->mtx_lock & MTX_UNOWNED); } else { regs[rd] = !(m.mi->mtx_lock & SX_UNLOCKED); } +#endif break; case DIF_SUBR_MUTEX_OWNER: |