Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 03:55:55 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Mark Johnston <markj@freebsd.org>
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:  <B2408BA0-454C-4A78-86A3-A6376F50E556@FreeBSD.org>
In-Reply-To: <201507192224.t6JMOYvO006057@repo.freebsd.org>
References:  <201507192224.t6JMOYvO006057@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 19 Jul 2015, at 22:24 , Mark Johnston <markj@freebsd.org> wrote:
>=20
> Author: markj
> Date: Sun Jul 19 22:24:33 2015
> New Revision: 285704
> URL: https://svnweb.freebsd.org/changeset/base/285704
>=20
> 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.
>=20
> 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--;
                ^





=E2=80=94=20
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."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2408BA0-454C-4A78-86A3-A6376F50E556>