-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libbpf: Use probe_name for legacy kprobe #2336
Conversation
Master branch: ecf45e6 |
Master branch: ecf45e6 |
0120982
to
c6e32ea
Compare
Master branch: f60edf5 |
c6e32ea
to
317dadf
Compare
Master branch: 5b3d729 |
317dadf
to
c8bc41e
Compare
Master branch: b645941 |
c8bc41e
to
353a8b5
Compare
Master branch: 3ccdcee |
353a8b5
to
82f6e46
Compare
Master branch: 1705c62 |
82f6e46
to
8d0121e
Compare
Master branch: 35580f9 |
8d0121e
to
bbfca3c
Compare
Master branch: 35580f9 |
bbfca3c
to
d56d79c
Compare
Master branch: 63d000c |
d56d79c
to
632b5ee
Compare
Master branch: 11f9983 |
632b5ee
to
c26fa33
Compare
11f9983
to
9e6b19a
Compare
Master branch: 9e6b19a |
c26fa33
to
947ef20
Compare
Master branch: e63a023 |
947ef20
to
2589a39
Compare
Master branch: 5e22dd1 |
2589a39
to
194e640
Compare
Master branch: 218d747 |
194e640
to
74693ce
Compare
Master branch: ca796fe |
74693ce
to
816786f
Compare
Master branch: ca796fe |
816786f
to
cff9eb6
Compare
Master branch: 58d8a3f |
cff9eb6
to
eb27342
Compare
Master branch: a5bebc4 |
eb27342
to
06a09c6
Compare
Master branch: 2847993 |
06a09c6
to
276eafa
Compare
Master branch: 2847993 |
276eafa
to
7dc0944
Compare
Fix a bug in commit 46ed5fc, which wrongly used the func_name instead of probe_name to register legacy kprobe. Fixes: 46ed5fc ("libbpf: Refactor and simplify legacy kprobe code") Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com> Tested-by: Hengqi Chen <hengqi.chen@gmail.com> Co-developed-by: Chengming Zhou <zhouchengming@bytedance.com> Signed-off-by: Qiang Wang <wangqiang.wq.frank@bytedance.com> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
If repeated legacy kprobes on same function in one process, libbpf will register using the same probe name and got -EBUSY error. So append index to the probe name format to fix this problem. Co-developed-by: Chengming Zhou <zhouchengming@bytedance.com> Signed-off-by: Qiang Wang <wangqiang.wq.frank@bytedance.com> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Master branch: 7218c28 |
7dc0944
to
94737cc
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=601488 irrelevant now. Closing PR. |
Pull request for series with
subject: libbpf: Use probe_name for legacy kprobe
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=601306