From owner-svn-src-all@freebsd.org Mon Jul 20 04:47:30 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5FE99A65E2; Mon, 20 Jul 2015 04:47:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B87011C5B; Mon, 20 Jul 2015 04:47:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by pachj5 with SMTP id hj5so95716844pac.3; Sun, 19 Jul 2015 21:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=yQikdnn8mMgUaUjHir4QOe/enN/abZQajbkosAc4KSk=; b=XPYtKXlQgDnpVVPNRCJcl+X4flLMpenrSSmtI1qdqUQ7PiLzQZQ87d/ngzfSePR+GJ rOMQUzQ1Gy+PYr3/oMIlRSd8qIrtvUoPAiruABNCQzpGbfSXgTilws7M0sl8GVH+CLIG dHuIFKt1IhiFx72l4DUEYD2H83VoBF0CrqviYkyEjWwdZnbvaIMDS55O04KB3QFypgx7 YsaNQvOnOqqDX8lMYCZFhrgNqU29v+OExpMiOHkaCAOaqTMcI6Hg7Jb3qwkCyciRMjcy A5FPDkIrQYApC/jyj1CWYWlZpLF7UDhURfcSDca+11h3PoX3eQYvD80ItAJhKTX2TCrW k2/A== X-Received: by 10.70.31.5 with SMTP id w5mr55627183pdh.3.1437367649511; Sun, 19 Jul 2015 21:47:29 -0700 (PDT) Received: from raichu ([104.232.114.184]) by smtp.gmail.com with ESMTPSA id a4sm4050061pdm.85.2015.07.19.21.47.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 21:47:28 -0700 (PDT) Sender: Mark Johnston Date: Sun, 19 Jul 2015 21:47:24 -0700 From: Mark Johnston To: "Bjoern A. Zeeb" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r285704 - in head: cddl/contrib/opensolaris/cmd/lockstat sys/kern sys/sys Message-ID: <20150720044716.GA51988@raichu> References: <201507192224.t6JMOYvO006057@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 04:47:31 -0000 On Mon, Jul 20, 2015 at 03:55:55AM +0000, Bjoern A. Zeeb wrote: > > > On 19 Jul 2015, at 22:24 , Mark Johnston wrote: > > > > Author: markj > > Date: Sun Jul 19 22:24:33 2015 > > New Revision: 285704 > > URL: https://svnweb.freebsd.org/changeset/base/285704 > > > > Log: > > Consistently use a reader/writer flag for lockstat probes in rwlock(9) and > > sx(9), rather than using the probe function name to determine whether a > > given lock is a read lock or a write lock. Update lockstat(1) accordingly. > > > > Modified: > > head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.c > > head/sys/kern/kern_lockstat.c > > head/sys/kern/kern_rwlock.c > > head/sys/kern/kern_sx.c > > head/sys/sys/lockstat.h > > head/sys/sys/rwlock.h > > head/sys/sys/sx.h > > > I see PC98 LINT kernels failing: > > /scratch/tmp/bz/head.svn/sys/cddl/dev/sdt/sdt.c:202:3: error: use of undeclared identifier 'lockstat_enabled' > lockstat_enabled++; > ^ > /scratch/tmp/bz/head.svn/sys/cddl/dev/sdt/sdt.c:213:3: error: use of undeclared identifier 'lockstat_enabled' > lockstat_enabled--; > ^ Sorry about that - fixed in r285709. -Mark