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

Bjoern A. Zeeb bz at FreeBSD.org
Mon Jul 20 03:56:03 UTC 2015


> 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--;
                ^





— 
Bjoern A. Zeeb                                  Charles Haddon Spurgeon:
"Friendship is one of the sweetest joys of life.  Many might have failed
 beneath the bitterness of their trial  had they not found a friend."



More information about the svn-src-all mailing list