From: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
---|---|
To: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Steven Niu <niushiji(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Question for coverage report |
Date: | 2025-10-22 15:30:32 |
Message-ID: | CAOYmi+=cHeYc91Ura_yYWPoeJZOm_Q5Tj+v_1xD0wBdH2+GdBA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Oct 21, 2025 at 11:11 PM Hayato Kuroda (Fujitsu)
<kuroda(dot)hayato(at)fujitsu(dot)com> wrote:
> Per above, I could consider in pguotput.c., line 1495 was actually executed but
> 1503 was counted when it reached line 1494. Another question is why one of the
> branch was reported as 100% and another one was 0%. Is it just because counts
> was less than 1/100?
(I don't know the answer to this question, but I will note that clang
(15.0.7) does not seem to make this mistake on my machine, and reports
a call count of zero for the `return` on line 1495. Looking at the
disassembly, it seems to add more instrumentation points than what Tom
showed for gcc.)
--Jacob
From | Date | Subject | |
---|---|---|---|
Next Message | Álvaro Herrera | 2025-10-22 15:49:43 | Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue |
Previous Message | Xuneng Zhou | 2025-10-22 15:25:51 | Re: Fix lag columns in pg_stat_replication not advancing when replay LSN stalls |