Skip to content

Conversation

@alan-maguire
Copy link
Member

bpftune was exiting on suspend; the reason is we get an -EINTR while polling. However because it is not a SIGINT/SIGTERM, we should not exit the polling routine for this error; the signal handling logic will do this for the signals we care about.

Tested via

$ systemctl suspend

bpftune service/program keeps running where it previously exited.

Reported by: Tungsten842 (https://github.com/Tungsten842)
Signed-off-by: Alan Maguire [email protected]

bpftune was exiting on suspend; the reason is we get an -EINTR while
polling.  However because it is not a SIGINT/SIGTERM, we should not
exit the polling routine for this error; the signal handling logic
will do this for the signals we care about.

Tested via

	$ systemctl suspend

bpftune service/program keeps running where it previously exited.

Reported by: Tungsten842 (https://github.com/Tungsten842)
Signed-off-by: Alan Maguire <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 22, 2023
@alan-maguire alan-maguire merged commit ae30479 into main Aug 22, 2023
@alan-maguire alan-maguire deleted the suspend branch December 2, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant