From: Dan Magenheimer Subject: RE: lock contention measuring code? Date: Tue, 7 Apr 2009 18:41:26 +0000 (GMT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org > I don't remember such a patch. Hmmm... maybe it was a patch in xenlinux? > probably wouldn't be hard to knock something up? Maybe if I were an x86 assembly guru ;-) > Depending on what stats you want Maybe incrementing a (64-bit) counter, some debug key to print out all counters, and some way to register a lock to put it in the debug-key list? Maybe enable this code by default whenever debug is enabled (but it might be useful data in the wild too). > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Tuesday, April 07, 2009 11:11 AM > To: Dan Magenheimer; Xen-Devel (E-mail) > Subject: Re: [Xen-devel] lock contention measuring code? >=20 >=20 > I don't remember such a patch. Depending on what stats you=20 > want, it probably > wouldn't be hard to knock something up? >=20 > -- Keir >=20 > On 07/04/2009 16:56, "Dan Magenheimer"=20 > wrote: >=20 > > Do I remember that there was a patch for the spinlock > > code to allow measuring lock contention? Maybe from > > Jan? If so, where might I find it? > >=20 > > Thanks, > > Dan > >=20 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel >=20 >=20 >