Skip to content

Commit

Permalink
Fix telegraf 1.22.0 build on OpenBSD/arm64:
Browse files Browse the repository at this point in the history
../../../go/pkg/mod/github.com/shirou/gopsutil/[email protected]/cpu/cpu_openbsd.go:63:14: undefined: cpuTimes
  • Loading branch information
geowiwi committed Mar 24, 2022
1 parent a270a18 commit 414ada9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cpu/cpu_openbsd_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package cpu

type cpuTimes struct {
User uint64
Nice uint64
Sys uint64
Spin uint64
Intr uint64
Idle uint64
}

0 comments on commit 414ada9

Please sign in to comment.