From ce64dacd9dc4480b397a4e42feeb946ebaff83b1 Mon Sep 17 00:00:00 2001 From: zhiyong Date: Wed, 14 Feb 2024 20:24:13 +0800 Subject: [PATCH] fix: fail to load probe netiftxlat --- pkg/exporter/probe/tracenetiftxlatency/tracenetiftxlatency.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exporter/probe/tracenetiftxlatency/tracenetiftxlatency.go b/pkg/exporter/probe/tracenetiftxlatency/tracenetiftxlatency.go index 720751a3..082364fe 100644 --- a/pkg/exporter/probe/tracenetiftxlatency/tracenetiftxlatency.go +++ b/pkg/exporter/probe/tracenetiftxlatency/tracenetiftxlatency.go @@ -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) }