thought-machine / falco-probes

Automated build and mirror of eBPF kernel probes for use as a driver with the Falco runtime security agent (https://falco.org/)
Apache License 2.0
16 stars 4 forks source link

Fix build loop goroutine gotcha #36

Closed VJftw closed 3 years ago

VJftw commented 3 years ago

Fixes #34

Annoyingly, a bit hard to unit test the logic as most of it is living in the main.go.

To solve this in a better way; we can refactor the parallel implementation to use a job queue with workers that pick job configuration off from a channel. I've created #35 to capture this