Re: [PATCH] Identify LWLocks in tracepoints

From: Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Identify LWLocks in tracepoints
Date: 2021-05-05 01:15:11
Message-ID: CAGRY4nw7ws6GoXnb=zBNgTNCBP95oF0zEP_EGT082KKk=BMA0A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 5 May 2021, 06:15 Andres Freund, <andres(at)anarazel(dot)de> wrote:

> Hi,
>
> warning: suggest braces around empty body in an ‘if’ statement
> [-Wempty-body]
> 1322 | TRACE_POSTGRESQL_LWLOCK_WAIT_START(T_NAME(lock), mode);
> | ^
>

Odd that I didn't get that.

I'll send a patch to revise shortly.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2021-05-05 01:18:45 Re: MaxOffsetNumber for Table AMs
Previous Message Andres Freund 2021-05-05 01:08:35 Re: WIP: WAL prefetch (another approach)