-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug on system suspend #932
Comments
Similar behavior has been observed for Linux Kernel: 6.6.28-lts I spent several hours trying to find more about this issue but I really have no inspiration to find where this comes from exactly ... I really want to find what happens here but lacking inspiration ! I am currently thinking that to fix this I should actually add a probe to system resume and actually reload the program on resume ! But it would just fix the symptom, not the root cause. cc: @vadorovsky |
Minimal repro code for the issue:
|
The issue is very likely located in Linux Kernel, an bug report as been filled and can be tracked at https://bugzilla.kernel.org/show_bug.cgi?id=218775 |
Linux Kernel: 6.6.25-1-lts
I came across a very strange issue, which may not be caused by Aya but may be solvable in Aya.
Issue description: I noticed that when a
kretprobe
is attached to__sys_recvmsg
and the system is suspended (in RAM) the probe stops working when the system resumes. It is yet impossible for me to explain this behavior.Steps to reproduce:
__sys_recvmsg
kernel function (___sys_recvmsg
also suffers from the same issue)sudo bpftool prog profile tag $PROG_TAG duration 5 cycles
and observe the result, you should see non null values.systemctl suspend
sudo bpftool prog profile tag $PROG_TAG duration 5 cycles
, you should see all zeros (that's what I see) even though the program is still alive.The text was updated successfully, but these errors were encountered: