* [LSF/MM/BPF TOPIC] multi uprobe link
@ 2023-02-24 10:25 Jiri Olsa
2023-02-24 17:57 ` Andrii Nakryiko
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Olsa @ 2023-02-24 10:25 UTC (permalink / raw)
To: lsf-pc; +Cc: bpf, John Fastabend, lorenz.bauer, Daniel Borkmann
We have a usecase to monitor potentially many uprobes and current way of
attaching many uprobes through perf takes long time. It's because there's
extra perf event install/schedule for each uprobe you want to attach.
It'd be great to have a another way to attach multiple uprobes probably by
adding new uprobe_multi link, that would create system wide uprobes directly
and attach bpf program to it.
Although that would not solve all the performance issues with uprobes, it
seems like a good start to solve attach/detach times.
I'd be interested in other people's experiences with uprobes and ideas on
speeding it up. The uprobe_multi link prototype should be done by that time,
hopefully ;-)
thanks,
jirka
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LSF/MM/BPF TOPIC] multi uprobe link
2023-02-24 10:25 [LSF/MM/BPF TOPIC] multi uprobe link Jiri Olsa
@ 2023-02-24 17:57 ` Andrii Nakryiko
0 siblings, 0 replies; 2+ messages in thread
From: Andrii Nakryiko @ 2023-02-24 17:57 UTC (permalink / raw)
To: Jiri Olsa; +Cc: lsf-pc, bpf, John Fastabend, lorenz.bauer, Daniel Borkmann
On Fri, Feb 24, 2023 at 2:39 AM Jiri Olsa <olsajiri@gmail.com> wrote:
>
> We have a usecase to monitor potentially many uprobes and current way of
> attaching many uprobes through perf takes long time. It's because there's
> extra perf event install/schedule for each uprobe you want to attach.
>
> It'd be great to have a another way to attach multiple uprobes probably by
> adding new uprobe_multi link, that would create system wide uprobes directly
> and attach bpf program to it.
>
> Although that would not solve all the performance issues with uprobes, it
> seems like a good start to solve attach/detach times.
>
> I'd be interested in other people's experiences with uprobes and ideas on
> speeding it up. The uprobe_multi link prototype should be done by that time,
> hopefully ;-)
Great! Looking forward to it! Certainly a very useful thing, also for
USDTs which could be inlined in lots of places, so one USDT attachment
is actually a multi-uprobe attachment, in general.
>
> thanks,
> jirka
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-24 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 10:25 [LSF/MM/BPF TOPIC] multi uprobe link Jiri Olsa
2023-02-24 17:57 ` Andrii Nakryiko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.