From 4826be704774d8bca485027077ed117a4ff1116a Mon Sep 17 00:00:00 2001 From: Stephen Curry Date: Thu, 12 Jun 2025 16:23:23 +0800 Subject: [PATCH] bugfix tprofiling attach multi mem_glibc failed --- src/probes/extends/ebpf.probe/src/tprofilingprobe/bpf_prog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/probes/extends/ebpf.probe/src/tprofilingprobe/bpf_prog.c b/src/probes/extends/ebpf.probe/src/tprofilingprobe/bpf_prog.c index b522d56d..9c3b0e9e 100644 --- a/src/probes/extends/ebpf.probe/src/tprofilingprobe/bpf_prog.c +++ b/src/probes/extends/ebpf.probe/src/tprofilingprobe/bpf_prog.c @@ -646,7 +646,7 @@ int attach_uprobes(struct ipc_body_s *ipc_body) if (mem_pymem_obj != NULL && proc_link->mem_pymem_link == NULL) { ret = attach_mem_pymem_probes_per_proc(mem_pymem_obj, proc_link); if (ret == 0) { - return 0; + continue; } TP_DEBUG("Failed to attach mem_pymem probes: pid=%d\n", pid); } -- Gitee