diff options
author | des <des@FreeBSD.org> | 2002-04-25 22:48:40 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-25 22:48:40 +0000 |
commit | b3648bf70664d6603e06feb3687da4b7c8c9ea63 (patch) | |
tree | 17f5f72ac0f9fbaf51a6a9431df9a786793a190e | |
parent | e1e6cfc088b5b6b533f828ec8eb7bef1a60aab18 (diff) | |
download | FreeBSD-src-b3648bf70664d6603e06feb3687da4b7c8c9ea63.zip FreeBSD-src-b3648bf70664d6603e06feb3687da4b7c8c9ea63.tar.gz |
Add the mutex profiling lock to the witness list. This hopefully unbreaks
the MUTEX_PROFILING + WITNESS + !WITNESS_SKIPSPIN case.
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
-rw-r--r-- | sys/kern/subr_witness.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index e503515..4aebb97 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -222,6 +222,7 @@ static struct witness_order_list_entry order_lists[] = { { "smp rendezvous", &lock_class_mtx_spin }, #endif { "clk", &lock_class_mtx_spin }, + { "mutex profiling lock", &lock_class_mtx_spin }, { NULL, NULL }, { NULL, NULL } }; |