Revert some debugging KTRs that were added during development.

This commit is contained in:
Kris Kennaway 2007-06-03 18:24:31 +00:00
parent a38329b531
commit cdcc788a7e

View File

@ -290,8 +290,6 @@ void _lock_profile_release_lock(struct lock_object *lo)
if (p == NULL || *p == '\0')
p = unknown;
hash = (l->lpo_namehash * 31 * 31 + (uintptr_t)p * 31 + l->lpo_lineno) & LPROF_HASH_MASK;
CTR5(KTR_SPARE1, "Hashing %s(%x) %s:%d to %d", l->lpo_filename,
l->lpo_namehash, p, l->lpo_lineno, hash);
mpp = &lprof_buf[hash];
while (mpp->name != NULL) {
if (mpp->line == l->lpo_lineno &&
@ -302,8 +300,6 @@ void _lock_profile_release_lock(struct lock_object *lo)
* else, try the next one
*/
collision = 1;
CTR4(KTR_SPARE1, "Hash collision, %s:%d %s(%x)", mpp->file,
mpp->line, mpp->name, mpp->namehash);
hash = (hash + 1) & LPROF_HASH_MASK;
mpp = &lprof_buf[hash];
}