Date: Fri, 23 Jun 2006 22:20:32 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99900 for review Message-ID: <200606232220.k5NMKWZ2064288@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99900 Change 99900 by kmacy@kmacy_storage:sun4v_work_sleepq on 2006/06/23 22:19:32 rename mtx_profile_* to lock_profile_* Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/kern/kern_mutex.c#13 edit .. //depot/projects/kmacy_sun4v/src/sys/sys/lock_profile.h#1 add Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/kern/kern_mutex.c#13 (text+ko) ==== @@ -283,7 +283,7 @@ LOCK_LOG_LOCK("LOCK", &m->mtx_object, opts, m->mtx_recurse, file, line); WITNESS_LOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line); - mtx_profile_obtain_lock_success(&m->mtx_object, file, line); + lock_profile_obtain_lock_success(&m->mtx_object, file, line); } void @@ -299,7 +299,7 @@ line); mtx_assert(m, MA_OWNED); - mtx_profile_release_lock(&m->mtx_object); + lock_profile_release_lock(&m->mtx_object); _rel_sleep_lock(m, curthread, opts, file, line); } @@ -402,7 +402,7 @@ m->mtx_object.lo_name, (void *)m->mtx_lock, file, line); while (!_obtain_lock(m, tid)) { - mtx_profile_obtain_lock_failed(&m->mtx_object, &contested); + lock_profile_obtain_lock_failed(&m->mtx_object, &contested); turnstile_lock(&m->mtx_object); v = m->mtx_lock; @@ -790,7 +790,7 @@ m->mtx_lock = MTX_UNOWNED; m->mtx_recurse = 0; - mtx_profile_init(&m->mtx_object, name); + lock_profile_init(&m->mtx_object, name); lock_init(&m->mtx_object, class, name, type, flags); } @@ -818,7 +818,7 @@ __LINE__); } - mtx_profile_destroy(&m->mtx_object); + lock_profile_destroy(&m->mtx_object); lock_destroy(&m->mtx_object); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606232220.k5NMKWZ2064288>