Re: [PATCH 2/3] kcov: wire up compiler instrumentation for CONFIG_KCOV_EXT_RECORDS
From: Jann Horn
Date: Fri Mar 13 2026 - 08:41:45 EST
On Fri, Mar 13, 2026 at 8:59 AM Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> On Fri, 13 Mar 2026 at 08:53, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
> > On Wed, 11 Mar 2026 at 22:06, Jann Horn <jannh@xxxxxxxxxx> wrote:
> > > @@ -202,15 +202,10 @@ static notrace unsigned long canonicalize_ip(unsigned long ip)
> > > return ip;
> > > }
> > >
> > > -/*
> > > - * Entry point from instrumented code.
> > > - * This is called once per basic-block/edge.
> > > - */
> > > -void notrace __sanitizer_cov_trace_pc(void)
> > > +static void notrace kcov_add_pc_record(unsigned long record)
>
> __alwaysinline just in case
Ack, will add in v2.