Fix sff panic deadlock, share the evdev probe, assorted review cleanups
This commit is contained in:
+2
-2
@@ -26,10 +26,10 @@ type direction struct {
|
||||
// aggregate.
|
||||
masked *atomic.Bool
|
||||
|
||||
// Guards everything the sampler touches. Collection consumes self-clearing
|
||||
// sources, so a second concurrent reader would see a gap.
|
||||
iface int
|
||||
|
||||
// Guards everything the sampler touches. Collection consumes self-clearing
|
||||
// sources, so a second concurrent reader would see a gap.
|
||||
mu sync.Mutex
|
||||
prev sample
|
||||
nic *nicCounters
|
||||
|
||||
Reference in New Issue
Block a user