Skip to content

Commit

Permalink
Switch from deprecated Start() to new Poll()
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed May 6, 2023
1 parent c6f6060 commit bd8692a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/perf_event_array.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func NewPerfEventArraySink(decoders *decoder.Set, module *libbpfgo.Module, count
}
}(sink)

perfEventBuf.Start()
perfEventBuf.Poll(300)

return sink
}
Expand Down

0 comments on commit bd8692a

Please sign in to comment.