Skip to content

Commit

Permalink
fix: fail to load probe netiftxlat
Browse files Browse the repository at this point in the history
  • Loading branch information
dzy176 committed Feb 14, 2024
1 parent ee4e742 commit ce64dac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func (p *netifTxlatencyProbe) loadAndAttachBPF() error {
}

// 获取Loaded的程序/map的fd信息
if err := loadBpfObjects(p.objs, &opts); err != nil {
if err := loadBpfObjects(&p.objs, &opts); err != nil {
return fmt.Errorf("loading objects: %v", err)
}

Expand Down

0 comments on commit ce64dac

Please sign in to comment.