pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Improve LWLock scalability.
Date: Thu, 25 Dec 2014 20:19:00 +0100
Message-ID: <20141225191900.GJ31801@alap3.anarazel.de> (raw)
In-Reply-To: <26539.1419534788@sss.pgh.pa.us>
References: <E1Y4Bau-0005fT-DD@gemulon.postgresql.org>
	<20141225185354.GH31801@alap3.anarazel.de>
	<26539.1419534788@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2014-12-25 14:13:08 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > This broke dtrace probes in a trivial way. Looking at the log made me
> > notice though that the probes in lwlock.c generate warnings since the
> > tranche changes went in.
> 
> Yeah, dtrace has never behaved very nicely with "const foo *" arguments.
> This is a bug in dtrace, not in our usage of it, and I don't think we
> should de-constify our code to work around the warnings.

Great, agreed.

> > Personally I think at this point we could just rip the probe support
> > out, but I'm not going to fight for that in earnest.
> 
> Not without a replacement for the functionality, IMO.

Fine with me, I just always had the impression that nobody uses them - I
very well might be wrong. Personally I just use 'perf probe' to add
tracepoints dynamically, where I need them. I assume others are doing
similar things.

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (5+ messages)  latest in thread

Message-ID: <20141225191900.GJ31801@alap3.anarazel.de>
Permalink:  ../20141225191900.GJ31801@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20141225191900.GJ31801@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Improve LWLock scalability.
  In-Reply-To: <20141225191900.GJ31801@alap3.anarazel.de>
  References: <E1Y4Bau-0005fT-DD@gemulon.postgresql.org> <20141225185354.GH31801@alap3.anarazel.de> <26539.1419534788@sss.pgh.pa.us> <20141225191900.GJ31801@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox