From 427ce9a28f2f167282ffd3f9b575d4e8139d887d Mon Sep 17 00:00:00 2001 From: RonFed Date: Mon, 24 Jul 2023 17:03:50 +0300 Subject: [PATCH] Align to new bpffs for multi processes --- pkg/instrumentors/bpf/database/sql/probe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/instrumentors/bpf/database/sql/probe.go b/pkg/instrumentors/bpf/database/sql/probe.go index cb00d82a9..d623ded39 100644 --- a/pkg/instrumentors/bpf/database/sql/probe.go +++ b/pkg/instrumentors/bpf/database/sql/probe.go @@ -82,7 +82,7 @@ func (h *Instrumentor) Load(ctx *context.InstrumentorContext) error { err = spec.LoadAndAssign(h.bpfObjects, &ebpf.CollectionOptions{ Maps: ebpf.MapOptions{ - PinPath: bpffs.BPFFsPath, + PinPath: bpffs.PathForTargetApplication(ctx.TargetDetails), }, })