svn commit: r285704 - in head: cddl/contrib/opensolaris/cmd/lockstat sys/kern sys/sys

Mark Johnston markj at freebsd.org
Mon Jul 20 04:47:31 UTC 2015


On Mon, Jul 20, 2015 at 03:55:55AM +0000, Bjoern A. Zeeb wrote:
> 
> > On 19 Jul 2015, at 22:24 , Mark Johnston <markj at freebsd.org> 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


More information about the svn-src-all mailing list