From owner-p4-projects@FreeBSD.ORG Fri Jun 23 22:20:33 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BD99A16A49E; Fri, 23 Jun 2006 22:20:33 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 811C116A492 for ; Fri, 23 Jun 2006 22:20:33 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FCC843D45 for ; Fri, 23 Jun 2006 22:20:33 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5NMKXc5064300 for ; Fri, 23 Jun 2006 22:20:33 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5NMKWZ2064288 for perforce@freebsd.org; Fri, 23 Jun 2006 22:20:32 GMT (envelope-from kmacy@freebsd.org) Date: Fri, 23 Jun 2006 22:20:32 GMT Message-Id: <200606232220.k5NMKWZ2064288@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 99900 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 22:20:34 -0000 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); }