Re: [PATCH v2] uprobes: make trace_uprobe->nhit counter a per-CPU one

From: Andrii Nakryiko
Date: Mon Aug 26 2024 - 12:18:21 EST


On Sun, Aug 25, 2024 at 3:15 AM Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> On Tue, 13 Aug 2024 17:41:04 +0200
> Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> > On 08/13, Masami Hiramatsu wrote:
> > >
> > > > @@ -62,7 +63,7 @@ struct trace_uprobe {
> > > > struct uprobe *uprobe;
> > >
> > > BTW, what is this change? I couldn't cleanly apply this to the v6.11-rc3.
> > > Which tree would you working on? (I missed something?)
> >
> > tip/perf/core
> >
> > See https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/diff/kernel/trace/trace_uprobe.c?h=perf/core&id=3c83a9ad0295eb63bdeb81d821b8c3b9417fbcac
>
> OK, let me consider to rebase on tip/perf/core.
>

Hey Masami,

I've posted v3 rebased onto linux-trace/probes/for-next, so you
shouldn't need to rebase anything just for this. See [0] for the
latest revision.

[0] https://lore.kernel.org/linux-trace-kernel/20240813203409.3985398-1-andrii@xxxxxxxxxx/

> Thank you,
>
> >
> > Oleg.
> >
>
>
> --
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>