Skip to content

Commit

Permalink
Merge branch 'master' into bazelisk-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
oncilla authored Nov 24, 2023
2 parents 7f1b9a2 + 799ed12 commit 76ed8ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/private/processmetrics/processmetrics_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ func (c *procStatCollector) updateStat() error {
if err != nil {
return err
}
newCount := taskStat.Nlink - 2
//nolint:unconvert // this is required for arm64 support
newCount := uint64(taskStat.Nlink - 2)
if newCount != c.lastTaskCount {
c.taskListUpdates++
c.myProcs, err = procfs.AllThreads(c.myPid)
Expand Down

0 comments on commit 76ed8ad

Please sign in to comment.