Skip to content

Commit

Permalink
Merge pull request #189 from dzy176/main
Browse files Browse the repository at this point in the history
fix: fail to load probe netiftxlat
  • Loading branch information
BSWANG authored Feb 18, 2024
2 parents ee4e742 + ce64dac commit a1a00c6
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 a1a00c6

Please sign in to comment.