Skip to content

Commit

Permalink
fix map load err been ignored
Browse files Browse the repository at this point in the history
Signed-off-by: bingshen.wbs <[email protected]>
  • Loading branch information
BSWANG committed Sep 9, 2024
1 parent 606ed14 commit c366489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exporter/probe/tracesoftirq/tracesoftirq.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func (p *softirqProbe) loadAndAttachBPF() error {

err = spec.LoadAndAssign(&p.objs, &opts)
if err != nil {
return nil
return err
}

prograise, err := link.Tracepoint("irq", "softirq_raise", p.objs.TraceSoftirqRaise, &link.TracepointOptions{})
Expand Down

0 comments on commit c366489

Please sign in to comment.