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), }, })