mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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.
This commit is contained in:
parent
5047a8fd88
commit
727acbb41b
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue