linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The state of uprobes work and logistics
@ 2024-10-16 19:35 Andrii Nakryiko
  2024-10-18  7:36 ` Peter Zijlstra
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andrii Nakryiko @ 2024-10-16 19:35 UTC (permalink / raw)
  To: Peter Ziljstra, Will Deacon, Catalin Marinas, Mark Rutland
  Cc: Linux trace kernel, bpf, Jiri Olsa, Oleg Nesterov,
	Masami Hiramatsu, Liao Chang, linux-arm-kernel, open list,
	linux-perf-use., Kernel Team

Hello,

I wanted to provide a bit of a context about and tie together a few
separate work streams (across a few separate kernel trees) all
revolving around uprobe improvements, as there are a bunch of them and
I'm sure it's hard to keep track of all of them. And hopefully I can
also get Peter and ARM maintainer's input on some specific questions I
asked below. Thank you in advance!

In short, in the last few months there was a high activity around
fixing and improving uprobes. All this is the result of increased and
more varied use of uprobes/uretprobe in production settings. Uprobe
performance is **very** important, and yes, we do have real use cases
that go to millions per second uprobe/uretprobe triggering throughput,
unfortunately. So any small bit of performance and scalability
improvement is helpful. No, this isn't just some nerdy perf
optimization work (I've been asked this a few times, so I thought I'd
emphasize this again).

So, we've already landed a bunch of work, mainly (not an exhaustive list):

  - various clean ups, API improvements, and bug fixes from Oleg
Nesterov ([0], [1]). This simplified internal APIs and was a
prerequisite of the rest of the work;
  - changes to refcounting and RCU-ifying of uprobe lifetime from me
([2]). This improved single-threaded performance somewhat, but mainly
significantly improved scalability in the presence of multiple CPUs
triggering lots of uprobes;
  - ARM64-specific optimization of uprobe emulation of NOP instruction
by Liao Chang ([3]). This change alone gives 2x (!) speed up for a
USDT tracing use cases *on ARM64* (we already have this optimization
in x86-64);
  - there was a bit earlier work by Jiri Olsa ([4]) to add uretprobe()
syscall, giving +30% speed ups.

And there are a few more outstanding changes:

  - Jiri Olsa's uprobe "session" support ([5]). This is less
performance focused, but important functionality by itself. But I'm
calling this out here because the first two patches are pure uprobe
internal changes, and I believe they should go into tip/perf/core to
avoid conflicts with the rest of pending uprobe changes.

Peter, do you mind applying those two and creating a stable tag for
bpf-next to pull? We'll apply the rest of Jiri's series to
bpf-next/master.

  - Liao Chang's ARM64-specific STP instruction emulation support
([6]). This one will give 2x (!) improvement for a common case of
having STP instruction being a first instruction in traced user
function (similar to NOP for USDTs).

ARM64 maintainers (cc'ed Catalin, Will, and Mark), can you guys please
take another look? This one was a bit more controversial, but
hopefully there is a way to massage it to be acceptable and not
introduce unnecessary slowdowns (there were some concerns about memory
ordering/visibility, which hopefully don't apply to uprobe cases).
It's an important improvement, I'd really appreciate it if we can make
progress here, thank you!

  - my speculative VMA-to-uprobe lookup series ([7]). This makes entry
uprobe scalability scale linearly with the number of CPUs (the
ultimate goal of uprobe scalability work).

I think it's ready to go in. It has **implicit** dependency on
Christian Brauner's recent change for FMODE_BACKING, for which he
provided a stable tag. Peter, do you have any remaining concerns or
this can be also merged soon?

  - another patch set of mine, switching uretprobe fast path to SRCU
(with timeout) ([8]). This makes return uprobes (uretprobes) linearly
scalable in the common case (again, the ultimate scalability goal).

I haven't gotten much feedback here, would love to get some objective
review here. This is an important counterpart to the speculative
VMA-to-uprobe lookup series. Both are needed in practice.

  - patch set dropping unnecessary siglock usage in uprobe by Liao
Chang ([9]). This one removes yet another lock, for a less common case
(at least on x86-64) of single-stepped uprobe (where the probed
instruction can't be emulated).

This one needs a rebase, but it was already acked by Oleg. Liao,
please prioritize the rebase and send v4 ASAP, so this is not lost.


As you can see, lots of stuff needs to be landed and most of it is in
good shape already. I'd love to hear thoughts of relevant people
called out above, thank you!


  [0] https://lore.kernel.org/linux-trace-kernel/20240729134444.GA12293@redhat.com/
  [1] https://lore.kernel.org/linux-trace-kernel/20240929144201.GA9429@redhat.com/
  [2] https://lore.kernel.org/linux-trace-kernel/20240903174603.3554182-1-andrii@kernel.org/
  [3] https://lore.kernel.org/linux-trace-kernel/20240909071114.1150053-1-liaochang1@huawei.com/
  [4] https://lore.kernel.org/linux-trace-kernel/20240523121149.575616-1-jolsa@kernel.org/
  [5] https://lore.kernel.org/bpf/20241015091050.3731669-1-jolsa@kernel.org/
  [6] https://lore.kernel.org/linux-trace-kernel/20240910060407.1427716-1-liaochang1@huawei.com/
  [7] https://lore.kernel.org/linux-trace-kernel/20241010205644.3831427-1-andrii@kernel.org/
  [8] https://lore.kernel.org/linux-trace-kernel/20241008002556.2332835-1-andrii@kernel.org/
  [9] https://lore.kernel.org/linux-trace-kernel/20240815014629.2685155-1-liaochang1@huawei.com/

-- Andrii

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-16 19:35 The state of uprobes work and logistics Andrii Nakryiko
@ 2024-10-18  7:36 ` Peter Zijlstra
  2024-10-18 20:27   ` Jiri Olsa
  2024-10-23 17:38 ` Andrii Nakryiko
  2024-10-30  9:42 ` Jiri Olsa
  2 siblings, 1 reply; 10+ messages in thread
From: Peter Zijlstra @ 2024-10-18  7:36 UTC (permalink / raw)
  To: Andrii Nakryiko
  Cc: Will Deacon, Catalin Marinas, Mark Rutland, Linux trace kernel,
	bpf, Jiri Olsa, Oleg Nesterov, Masami Hiramatsu, Liao Chang,
	linux-arm-kernel, open list, linux-perf-use., Kernel Team

On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:

>   - Jiri Olsa's uprobe "session" support ([5]). This is less
> performance focused, but important functionality by itself. But I'm
> calling this out here because the first two patches are pure uprobe
> internal changes, and I believe they should go into tip/perf/core to
> avoid conflicts with the rest of pending uprobe changes.
> 
> Peter, do you mind applying those two and creating a stable tag for
> bpf-next to pull? We'll apply the rest of Jiri's series to
> bpf-next/master.

>   [5] https://lore.kernel.org/bpf/20241015091050.3731669-1-jolsa@kernel.org/

I don't actually appear to have these.. Jiri, can you bounce them my
way or resend?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-18  7:36 ` Peter Zijlstra
@ 2024-10-18 20:27   ` Jiri Olsa
  0 siblings, 0 replies; 10+ messages in thread
From: Jiri Olsa @ 2024-10-18 20:27 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Andrii Nakryiko, Will Deacon, Catalin Marinas, Mark Rutland,
	Linux trace kernel, bpf, Oleg Nesterov, Masami Hiramatsu,
	Liao Chang, linux-arm-kernel, open list, linux-perf-use.,
	Kernel Team

On Fri, Oct 18, 2024 at 09:36:28AM +0200, Peter Zijlstra wrote:
> On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:
> 
> >   - Jiri Olsa's uprobe "session" support ([5]). This is less
> > performance focused, but important functionality by itself. But I'm
> > calling this out here because the first two patches are pure uprobe
> > internal changes, and I believe they should go into tip/perf/core to
> > avoid conflicts with the rest of pending uprobe changes.
> > 
> > Peter, do you mind applying those two and creating a stable tag for
> > bpf-next to pull? We'll apply the rest of Jiri's series to
> > bpf-next/master.
> 
> >   [5] https://lore.kernel.org/bpf/20241015091050.3731669-1-jolsa@kernel.org/
> 
> I don't actually appear to have these.. Jiri, can you bounce them my
> way or resend?

sorry about that, I split the uprobe perf/core changes and reposted [1]

thanks,
jirka


[1] https://lore.kernel.org/bpf/20241018202252.693462-1-jolsa@kernel.org/T/#ma43c549c4bf684ca1b17fa638aa5e7cbb46893e9

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-16 19:35 The state of uprobes work and logistics Andrii Nakryiko
  2024-10-18  7:36 ` Peter Zijlstra
@ 2024-10-23 17:38 ` Andrii Nakryiko
  2024-10-24 17:38   ` Jiri Olsa
  2024-10-30  9:42 ` Jiri Olsa
  2 siblings, 1 reply; 10+ messages in thread
From: Andrii Nakryiko @ 2024-10-23 17:38 UTC (permalink / raw)
  To: Peter Ziljstra, Will Deacon, Catalin Marinas, Mark Rutland
  Cc: Linux trace kernel, bpf, Jiri Olsa, Oleg Nesterov,
	Masami Hiramatsu, Liao Chang, linux-arm-kernel, open list,
	linux-perf-use., Kernel Team

Ok, 7 days has passed, let's see how we are doing here...

On Wed, Oct 16, 2024 at 12:35 PM Andrii Nakryiko
<andrii.nakryiko@gmail.com> wrote:
>
> Hello,
>
> I wanted to provide a bit of a context about and tie together a few
> separate work streams (across a few separate kernel trees) all
> revolving around uprobe improvements, as there are a bunch of them and
> I'm sure it's hard to keep track of all of them. And hopefully I can
> also get Peter and ARM maintainer's input on some specific questions I
> asked below. Thank you in advance!
>
> In short, in the last few months there was a high activity around
> fixing and improving uprobes. All this is the result of increased and
> more varied use of uprobes/uretprobe in production settings. Uprobe
> performance is **very** important, and yes, we do have real use cases
> that go to millions per second uprobe/uretprobe triggering throughput,
> unfortunately. So any small bit of performance and scalability
> improvement is helpful. No, this isn't just some nerdy perf
> optimization work (I've been asked this a few times, so I thought I'd
> emphasize this again).
>
> So, we've already landed a bunch of work, mainly (not an exhaustive list):
>
>   - various clean ups, API improvements, and bug fixes from Oleg
> Nesterov ([0], [1]). This simplified internal APIs and was a
> prerequisite of the rest of the work;
>   - changes to refcounting and RCU-ifying of uprobe lifetime from me
> ([2]). This improved single-threaded performance somewhat, but mainly
> significantly improved scalability in the presence of multiple CPUs
> triggering lots of uprobes;
>   - ARM64-specific optimization of uprobe emulation of NOP instruction
> by Liao Chang ([3]). This change alone gives 2x (!) speed up for a
> USDT tracing use cases *on ARM64* (we already have this optimization
> in x86-64);
>   - there was a bit earlier work by Jiri Olsa ([4]) to add uretprobe()
> syscall, giving +30% speed ups.
>
> And there are a few more outstanding changes:
>
>   - Jiri Olsa's uprobe "session" support ([5]). This is less
> performance focused, but important functionality by itself. But I'm
> calling this out here because the first two patches are pure uprobe
> internal changes, and I believe they should go into tip/perf/core to
> avoid conflicts with the rest of pending uprobe changes.
>
> Peter, do you mind applying those two and creating a stable tag for
> bpf-next to pull? We'll apply the rest of Jiri's series to
> bpf-next/master.

Jiri has reposted patches this time CC'ing Peter, heh :), it would be
great to apply those two patches and get a stable tag. This is
blocking the landing of uprobe sessions in bpf-next and also my
remaining patches will be based on top of Jiri's uprobe changes, most
probably. Peter, please take another look, thank you.

>
>   - Liao Chang's ARM64-specific STP instruction emulation support
> ([6]). This one will give 2x (!) improvement for a common case of
> having STP instruction being a first instruction in traced user
> function (similar to NOP for USDTs).
>
> ARM64 maintainers (cc'ed Catalin, Will, and Mark), can you guys please
> take another look? This one was a bit more controversial, but
> hopefully there is a way to massage it to be acceptable and not
> introduce unnecessary slowdowns (there were some concerns about memory
> ordering/visibility, which hopefully don't apply to uprobe cases).
> It's an important improvement, I'd really appreciate it if we can make
> progress here, thank you!
>

Ping. ARM64 folks, can you please take a look and reply? Thank you.

>   - my speculative VMA-to-uprobe lookup series ([7]). This makes entry
> uprobe scalability scale linearly with the number of CPUs (the
> ultimate goal of uprobe scalability work).
>
> I think it's ready to go in. It has **implicit** dependency on
> Christian Brauner's recent change for FMODE_BACKING, for which he
> provided a stable tag. Peter, do you have any remaining concerns or
> this can be also merged soon?

No changes, still ready to go in. Might need a rebase if Jiri's
patches are applied.

>
>   - another patch set of mine, switching uretprobe fast path to SRCU
> (with timeout) ([8]). This makes return uprobes (uretprobes) linearly
> scalable in the common case (again, the ultimate scalability goal).
>
> I haven't gotten much feedback here, would love to get some objective
> review here. This is an important counterpart to the speculative
> VMA-to-uprobe lookup series. Both are needed in practice.
>

The only thing that has progressed, thank you. I'll apply suggested
state changes, but I intend to postpone delayed_uprobe_lock rework to
a separate follow up patch set. Just a heads up.

>   - patch set dropping unnecessary siglock usage in uprobe by Liao
> Chang ([9]). This one removes yet another lock, for a less common case
> (at least on x86-64) of single-stepped uprobe (where the probed
> instruction can't be emulated).
>
> This one needs a rebase, but it was already acked by Oleg. Liao,
> please prioritize the rebase and send v4 ASAP, so this is not lost.
>

This was rebased and acked by Masami. Seems to be ready to be applied.

>
> As you can see, lots of stuff needs to be landed and most of it is in
> good shape already. I'd love to hear thoughts of relevant people
> called out above, thank you!
>
>
>   [0] https://lore.kernel.org/linux-trace-kernel/20240729134444.GA12293@redhat.com/
>   [1] https://lore.kernel.org/linux-trace-kernel/20240929144201.GA9429@redhat.com/
>   [2] https://lore.kernel.org/linux-trace-kernel/20240903174603.3554182-1-andrii@kernel.org/
>   [3] https://lore.kernel.org/linux-trace-kernel/20240909071114.1150053-1-liaochang1@huawei.com/
>   [4] https://lore.kernel.org/linux-trace-kernel/20240523121149.575616-1-jolsa@kernel.org/
>   [5] https://lore.kernel.org/bpf/20241015091050.3731669-1-jolsa@kernel.org/
>   [6] https://lore.kernel.org/linux-trace-kernel/20240910060407.1427716-1-liaochang1@huawei.com/
>   [7] https://lore.kernel.org/linux-trace-kernel/20241010205644.3831427-1-andrii@kernel.org/
>   [8] https://lore.kernel.org/linux-trace-kernel/20241008002556.2332835-1-andrii@kernel.org/
>   [9] https://lore.kernel.org/linux-trace-kernel/20240815014629.2685155-1-liaochang1@huawei.com/
>
> -- Andrii

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-23 17:38 ` Andrii Nakryiko
@ 2024-10-24 17:38   ` Jiri Olsa
  0 siblings, 0 replies; 10+ messages in thread
From: Jiri Olsa @ 2024-10-24 17:38 UTC (permalink / raw)
  To: Peter Ziljstra
  Cc: Andrii Nakryiko, Will Deacon, Catalin Marinas, Mark Rutland,
	Linux trace kernel, bpf, Oleg Nesterov, Masami Hiramatsu,
	Liao Chang, linux-arm-kernel, open list, linux-perf-use.,
	Kernel Team

On Wed, Oct 23, 2024 at 10:38:54AM -0700, Andrii Nakryiko wrote:

SNIP

> > Peter, do you mind applying those two and creating a stable tag for
> > bpf-next to pull? We'll apply the rest of Jiri's series to
> > bpf-next/master.
> 
> Jiri has reposted patches this time CC'ing Peter, heh :), it would be
> great to apply those two patches and get a stable tag. This is

hi,
any news on this one? I saw the patches in peterz/perf/core,
but I think we still need the stable tag for bpf-next/master

thanks,
jirka


> blocking the landing of uprobe sessions in bpf-next and also my
> remaining patches will be based on top of Jiri's uprobe changes, most
> probably. Peter, please take another look, thank you.

SNIP

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-16 19:35 The state of uprobes work and logistics Andrii Nakryiko
  2024-10-18  7:36 ` Peter Zijlstra
  2024-10-23 17:38 ` Andrii Nakryiko
@ 2024-10-30  9:42 ` Jiri Olsa
  2024-11-06  2:11   ` Andrii Nakryiko
  2 siblings, 1 reply; 10+ messages in thread
From: Jiri Olsa @ 2024-10-30  9:42 UTC (permalink / raw)
  To: Andrii Nakryiko, Ingo Molnar
  Cc: Peter Ziljstra, Will Deacon, Catalin Marinas, Mark Rutland,
	Linux trace kernel, bpf, Oleg Nesterov, Masami Hiramatsu,
	Liao Chang, linux-arm-kernel, open list, linux-perf-use.,
	Kernel Team

On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:

SNIP

>   - Jiri Olsa's uprobe "session" support ([5]). This is less
> performance focused, but important functionality by itself. But I'm
> calling this out here because the first two patches are pure uprobe
> internal changes, and I believe they should go into tip/perf/core to
> avoid conflicts with the rest of pending uprobe changes.
> 
> Peter, do you mind applying those two and creating a stable tag for
> bpf-next to pull? We'll apply the rest of Jiri's series to
> bpf-next/master.


Hi Ingo,
there's uprobe session support change that already landed in tip tree,
but we have bpf related changes that need to go in through bpf-next tree

could you please create the stable tag that we could pull to bpf-next/master
and apply the rest of the uprobe session changes in there?

thanks,
jirka

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-10-30  9:42 ` Jiri Olsa
@ 2024-11-06  2:11   ` Andrii Nakryiko
  2024-11-06 10:46     ` Peter Zijlstra
  0 siblings, 1 reply; 10+ messages in thread
From: Andrii Nakryiko @ 2024-11-06  2:11 UTC (permalink / raw)
  To: Jiri Olsa, Ingo Molnar
  Cc: Peter Ziljstra, Will Deacon, Catalin Marinas, Mark Rutland,
	Linux trace kernel, bpf, Oleg Nesterov, Masami Hiramatsu,
	Liao Chang, linux-arm-kernel, open list, linux-perf-use.,
	Kernel Team

On Wed, Oct 30, 2024 at 2:42 AM Jiri Olsa <olsajiri@gmail.com> wrote:
>
> On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:
>
> SNIP
>
> >   - Jiri Olsa's uprobe "session" support ([5]). This is less
> > performance focused, but important functionality by itself. But I'm
> > calling this out here because the first two patches are pure uprobe
> > internal changes, and I believe they should go into tip/perf/core to
> > avoid conflicts with the rest of pending uprobe changes.
> >
> > Peter, do you mind applying those two and creating a stable tag for
> > bpf-next to pull? We'll apply the rest of Jiri's series to
> > bpf-next/master.
>
>
> Hi Ingo,
> there's uprobe session support change that already landed in tip tree,
> but we have bpf related changes that need to go in through bpf-next tree
>
> could you please create the stable tag that we could pull to bpf-next/master
> and apply the rest of the uprobe session changes in there?

Ping. We (BPF) are blocked on this, we can't apply Jiri's uprobe
session series ([0]), until we merge two of his patches that landed
into perf/core. Can we please get a stable tag which we can use to
pull perf/core's patches into bpf-next/master?

  [0] https://lore.kernel.org/all/20241018204109.713820-1-jolsa@kernel.org/

>
> thanks,
> jirka

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-11-06  2:11   ` Andrii Nakryiko
@ 2024-11-06 10:46     ` Peter Zijlstra
  2024-11-06 11:05       ` Peter Zijlstra
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Zijlstra @ 2024-11-06 10:46 UTC (permalink / raw)
  To: Andrii Nakryiko
  Cc: Jiri Olsa, Ingo Molnar, Will Deacon, Catalin Marinas,
	Mark Rutland, Linux trace kernel, bpf, Oleg Nesterov,
	Masami Hiramatsu, Liao Chang, linux-arm-kernel, open list,
	linux-perf-use., Kernel Team

On Tue, Nov 05, 2024 at 06:11:07PM -0800, Andrii Nakryiko wrote:
> On Wed, Oct 30, 2024 at 2:42 AM Jiri Olsa <olsajiri@gmail.com> wrote:
> >
> > On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:
> >
> > SNIP
> >
> > >   - Jiri Olsa's uprobe "session" support ([5]). This is less
> > > performance focused, but important functionality by itself. But I'm
> > > calling this out here because the first two patches are pure uprobe
> > > internal changes, and I believe they should go into tip/perf/core to
> > > avoid conflicts with the rest of pending uprobe changes.
> > >
> > > Peter, do you mind applying those two and creating a stable tag for
> > > bpf-next to pull? We'll apply the rest of Jiri's series to
> > > bpf-next/master.
> >
> >
> > Hi Ingo,
> > there's uprobe session support change that already landed in tip tree,
> > but we have bpf related changes that need to go in through bpf-next tree
> >
> > could you please create the stable tag that we could pull to bpf-next/master
> > and apply the rest of the uprobe session changes in there?
> 
> Ping. We (BPF) are blocked on this, we can't apply Jiri's uprobe
> session series ([0]), until we merge two of his patches that landed
> into perf/core. Can we please get a stable tag which we can use to
> pull perf/core's patches into bpf-next/master?

The whole tip/perf/core should be stable, but let me try and figure out
how git tags work.. might as well read a man-page today.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-11-06 10:46     ` Peter Zijlstra
@ 2024-11-06 11:05       ` Peter Zijlstra
  2024-11-06 16:15         ` Andrii Nakryiko
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Zijlstra @ 2024-11-06 11:05 UTC (permalink / raw)
  To: Andrii Nakryiko
  Cc: Jiri Olsa, Ingo Molnar, Will Deacon, Catalin Marinas,
	Mark Rutland, Linux trace kernel, bpf, Oleg Nesterov,
	Masami Hiramatsu, Liao Chang, linux-arm-kernel, open list,
	linux-perf-use., Kernel Team

On Wed, Nov 06, 2024 at 11:46:39AM +0100, Peter Zijlstra wrote:
> On Tue, Nov 05, 2024 at 06:11:07PM -0800, Andrii Nakryiko wrote:
> > On Wed, Oct 30, 2024 at 2:42 AM Jiri Olsa <olsajiri@gmail.com> wrote:
> > >
> > > On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:
> > >
> > > SNIP
> > >
> > > >   - Jiri Olsa's uprobe "session" support ([5]). This is less
> > > > performance focused, but important functionality by itself. But I'm
> > > > calling this out here because the first two patches are pure uprobe
> > > > internal changes, and I believe they should go into tip/perf/core to
> > > > avoid conflicts with the rest of pending uprobe changes.
> > > >
> > > > Peter, do you mind applying those two and creating a stable tag for
> > > > bpf-next to pull? We'll apply the rest of Jiri's series to
> > > > bpf-next/master.
> > >
> > >
> > > Hi Ingo,
> > > there's uprobe session support change that already landed in tip tree,
> > > but we have bpf related changes that need to go in through bpf-next tree
> > >
> > > could you please create the stable tag that we could pull to bpf-next/master
> > > and apply the rest of the uprobe session changes in there?
> > 
> > Ping. We (BPF) are blocked on this, we can't apply Jiri's uprobe
> > session series ([0]), until we merge two of his patches that landed
> > into perf/core. Can we please get a stable tag which we can use to
> > pull perf/core's patches into bpf-next/master?
> 
> The whole tip/perf/core should be stable, but let me try and figure out
> how git tags work.. might as well read a man-page today.

I might have managed to create a perf-core-for-bpf-next tag, but I'm not
sure I know enough about git to even test it.

Let me know..

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: The state of uprobes work and logistics
  2024-11-06 11:05       ` Peter Zijlstra
@ 2024-11-06 16:15         ` Andrii Nakryiko
  0 siblings, 0 replies; 10+ messages in thread
From: Andrii Nakryiko @ 2024-11-06 16:15 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Jiri Olsa, Ingo Molnar, Will Deacon, Catalin Marinas,
	Mark Rutland, Linux trace kernel, bpf, Oleg Nesterov,
	Masami Hiramatsu, Liao Chang, linux-arm-kernel, open list,
	linux-perf-use., Kernel Team

On Wed, Nov 6, 2024 at 3:06 AM Peter Zijlstra <peterz@infradead.org> wrote:
>
> On Wed, Nov 06, 2024 at 11:46:39AM +0100, Peter Zijlstra wrote:
> > On Tue, Nov 05, 2024 at 06:11:07PM -0800, Andrii Nakryiko wrote:
> > > On Wed, Oct 30, 2024 at 2:42 AM Jiri Olsa <olsajiri@gmail.com> wrote:
> > > >
> > > > On Wed, Oct 16, 2024 at 12:35:21PM -0700, Andrii Nakryiko wrote:
> > > >
> > > > SNIP
> > > >
> > > > >   - Jiri Olsa's uprobe "session" support ([5]). This is less
> > > > > performance focused, but important functionality by itself. But I'm
> > > > > calling this out here because the first two patches are pure uprobe
> > > > > internal changes, and I believe they should go into tip/perf/core to
> > > > > avoid conflicts with the rest of pending uprobe changes.
> > > > >
> > > > > Peter, do you mind applying those two and creating a stable tag for
> > > > > bpf-next to pull? We'll apply the rest of Jiri's series to
> > > > > bpf-next/master.
> > > >
> > > >
> > > > Hi Ingo,
> > > > there's uprobe session support change that already landed in tip tree,
> > > > but we have bpf related changes that need to go in through bpf-next tree
> > > >
> > > > could you please create the stable tag that we could pull to bpf-next/master
> > > > and apply the rest of the uprobe session changes in there?
> > >
> > > Ping. We (BPF) are blocked on this, we can't apply Jiri's uprobe
> > > session series ([0]), until we merge two of his patches that landed
> > > into perf/core. Can we please get a stable tag which we can use to
> > > pull perf/core's patches into bpf-next/master?
> >
> > The whole tip/perf/core should be stable, but let me try and figure out
> > how git tags work.. might as well read a man-page today.
>
> I might have managed to create a perf-core-for-bpf-next tag, but I'm not
> sure I know enough about git to even test it.
>
> Let me know..

Looks good, thank you. I'm merging it into bpf-next, testing, and if
everything looks good I'll apply Jiri's patches on top.

Tag is more so of a promise that everything up to that tag won't be
rebased, otherwise we'll run into tons of problems during the merge
window. That seems to be the case, so I'm proceeding, thank you!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-11-06 16:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16 19:35 The state of uprobes work and logistics Andrii Nakryiko
2024-10-18  7:36 ` Peter Zijlstra
2024-10-18 20:27   ` Jiri Olsa
2024-10-23 17:38 ` Andrii Nakryiko
2024-10-24 17:38   ` Jiri Olsa
2024-10-30  9:42 ` Jiri Olsa
2024-11-06  2:11   ` Andrii Nakryiko
2024-11-06 10:46     ` Peter Zijlstra
2024-11-06 11:05       ` Peter Zijlstra
2024-11-06 16:15         ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).