Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4DwA-0001L5-Ln for pgsql-committers@arkaria.postgresql.org; Thu, 25 Dec 2014 19:19:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y4DwA-0007uM-6Z for pgsql-committers@arkaria.postgresql.org; Thu, 25 Dec 2014 19:19:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y4Dw9-0007uF-9r for pgsql-committers@postgresql.org; Thu, 25 Dec 2014 19:19:05 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4Dw5-00065x-Sf for pgsql-committers@postgresql.org; Thu, 25 Dec 2014 19:19:04 +0000 Received: from intern.anarazel.de (p549F02E4.dip0.t-ipconnect.de [84.159.2.228]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 503E0460007; Thu, 25 Dec 2014 20:19:01 +0100 (CET) Date: Thu, 25 Dec 2014 20:19:00 +0100 From: Andres Freund To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Improve LWLock scalability. Message-ID: <20141225191900.GJ31801@alap3.anarazel.de> References: <20141225185354.GH31801@alap3.anarazel.de> <26539.1419534788@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26539.1419534788@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2014-12-25 14:13:08 -0500, Tom Lane wrote: > Andres Freund 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