From: Shuyi Cheng <chengshuyi@linux.alibaba.com>
To: bpf@vger.kernel.org
Subject: How to attach a single bpf_program multiple times?
Date: Tue, 28 Sep 2021 17:54:04 +0800 [thread overview]
Message-ID: <d79d7eb8-98da-da02-24ad-130c6f88fe87@linux.alibaba.com> (raw)
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!
next reply other threads:[~2021-09-28 9:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 9:54 Shuyi Cheng [this message]
2021-10-01 20:52 ` How to attach a single bpf_program multiple times? Andrii Nakryiko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d79d7eb8-98da-da02-24ad-130c6f88fe87@linux.alibaba.com \
--to=chengshuyi@linux.alibaba.com \
--cc=bpf@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox