Skip to content

Commit

Permalink
Align to new bpffs for multi processes
Browse files Browse the repository at this point in the history
  • Loading branch information
RonFed committed Jul 24, 2023
1 parent 0b923ed commit 427ce9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/instrumentors/bpf/database/sql/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
})

Expand Down

0 comments on commit 427ce9a

Please sign in to comment.