oracle / bpftune

bpftune uses BPF to auto-tune Linux systems
Other
654 stars 55 forks source link

libbpftune: do not print error when signal received #55

Closed alan-maguire closed 10 months ago

alan-maguire commented 10 months ago

when we get a signal during polling, we see

Aug 19 10:11:41 nixos-dell bpftune[7957]: ring_buffer__poll: Interrupted system call

This is not an error; it's just that the signal is delivered while we are polling, so skip error display for this case.

Reported by: Tungsten842 (https://github.com/Tungsten842) Signed-off-by: Alan Maguire alan.maguire@oracle.com