bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to attach a single bpf_program multiple times?
@ 2021-09-28  9:54 Shuyi Cheng
  2021-10-01 20:52 ` Andrii Nakryiko
  0 siblings, 1 reply; 2+ messages in thread
From: Shuyi Cheng @ 2021-09-28  9:54 UTC (permalink / raw)
  To: bpf

Hi, everyone!

When the ebpf program is the same, but attach to a different kprobe 
function, I have to recompile the entire program. If the kprobe function 
of bpf_program attach can be specified dynamically, then there is no 
need to modify the original program.

Thanks!

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

end of thread, other threads:[~2021-10-01 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28  9:54 How to attach a single bpf_program multiple times? Shuyi Cheng
2021-10-01 20:52 ` 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).