Re: [PATCH v2] kcov: allow simultaneous KCOV_ENABLE/KCOV_REMOTE_ENABLE

From: Jann Horn

Date: Tue May 19 2026 - 12:22:45 EST


On Tue, May 19, 2026 at 4:32 PM Alexander Potapenko <glider@xxxxxxxxxx> wrote:
> > Changes in v2:
> > - remove unused constant KCOV_MODE_REMOTE (dvyukov)
> > - add Reviewed-by from dvyukov
> > - Link to v1: https://lore.kernel.org/r/20260505-kcov-simultaneous-remote-v1-1-a670ba7cefd2@xxxxxxxxxx
> > ---
> > include/linux/kcov.h | 2 --
> > include/linux/sched.h | 3 ++
> > kernel/kcov.c | 94 ++++++++++++++++++++++++++++-----------------------
>
> Could you also update Documentation/dev-tools/kcov.rst (a separate
> commit is also fine - it can cover the kcov_common_handle_id change as
> well)?

Ack, makes sense, I have now sent
https://lore.kernel.org/r/20260519-kcov-docs-v1-1-5bb22f4cb20c@xxxxxxxxxx