diff options
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d index c1fcd85..0df9787 100644 --- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d +++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.rw.d @@ -38,22 +38,22 @@ fbt::: fbt::: /on/ { - @[rw_read_held((struct rwlock *)&`unp_global_rwlock)] = count(); - @[rw_read_held((struct rwlock *)rand())] = count(); + @[rw_read_held((krwlock_t *)&`clock)] = count(); + @[rw_read_held((krwlock_t *)rand())] = count(); } fbt::: /on/ { - @[rw_write_held((struct rwlock *)&`unp_global_rwlock)] = count(); - @[rw_write_held((struct rwlock *)rand())] = count(); + @[rw_write_held((krwlock_t *)&`clock)] = count(); + @[rw_write_held((krwlock_t *)rand())] = count(); } fbt::: /on/ { - @[rw_iswriter((struct rwlock *)&`unp_global_rwlock)] = count(); - @[rw_iswriter((struct rwlock *)rand())] = count(); + @[rw_iswriter((krwlock_t *)&`clock)] = count(); + @[rw_iswriter((krwlock_t *)rand())] = count(); } tick-1sec |