Re: [PATCH] Identify LWLocks in tracepoints

David Steele <david@pgmasters.net>

From: David Steele <david@pgmasters.net>
To: Craig Ringer <craig.ringer@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Heikki Linnakangas <hlinnaka@iki.fi>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2021-03-03T12:50:22Z
Lists: pgsql-hackers
On 1/22/21 6:02 AM, Peter Eisentraut wrote:
> On 2021-01-14 09:39, Craig Ringer wrote:
>> On Thu, 14 Jan 2021 at 15:56, Peter Eisentraut 
>> <peter.eisentraut@enterprisedb.com 
>> <mailto:peter.eisentraut@enterprisedb.com>> wrote:
>>
>>     On 2020-12-19 06:00, Craig Ringer wrote:
>>      > Patch 1 fixes a bogus tracepoint where an lwlock__acquire event
>>     would be
>>      > fired from LWLockWaitForVar, despite that function never actually
>>      > acquiring the lock.
>>
>>     This was added in 68a2e52bbaf when LWLockWaitForVar() was first
>>     introduced.  It looks like a mistake to me too, but maybe Heikki 
>> wants
>>     to comment.
>>
>>
>> I'm certain it's a copy/paste bug.
> 
> I have committed that patch.

This patch set no longer applies: 
http://cfbot.cputube.org/patch_32_2927.log.

Can we get a rebase? Also marked Waiting on Author.

Regards,
-- 
-David
david@pgmasters.net



Commits

  1. Emit dummy statements for probes.d probes when disabled

  2. Prevent lwlock dtrace probes from unnecessary work

  3. doc: Fix typo in logicaldecoding.sgml.

  4. Move lwlock-release probe back where it belongs

  5. Remove bogus tracepoint

  6. Simplify LWLock tranche machinery by removing array_base/array_stride.

  7. Improve LWLock scalability.