-
Notifications
You must be signed in to change notification settings - Fork 167
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]: bpftrace cannot obtain ena_io_poll return value #292
Comments
Hi @Data-crea Thanks for submitting the query, the command you've posted works well on Amazon Linux 2 and Ubuntu 22.04. |
Hi @Data-crea, To mitigate this issue, you can:
We will provide an update once we receive a resolution from the Amazon Linux team. Thank you for bringing this to our attention. |
Hi @amitbern-aws @davidarinzon
Thank you very much for your effective response! I will try this!
|
Update from kernel team:
Amazon Linux 2023 will take the fix in the coming weeks, Thanks |
I see it! Thanks again! |
Preliminary Actions
Driver Type
Linux kernel driver for Elastic Network Adapter (ENA)
Driver Tag/Commit
6.1.66-91.160.amzn2023.x86_64
Custom Code
No
OS Platform and Distribution
6.1.66-91.160.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMI
Bug description
Try to get the return value using the following command:
bpftrace -e 'kretprobe: ena_io_poll {@[nsecs/1000000000]=count();}'
bpftrace cannot obtain the ena_io_poll return value. How should I get it?
Modify the code? I added noinline which doesn't seem to work.
Reproduction steps
Excute the following cmd: bpftrace -e 'kretprobe: ena_io_poll {@[nsecs/1000000000]=count();}'
Expected Behavior
Get the corresponding return value.
Actual Behavior
Cannot get the corresponding return value.
Additional Data
Relevant log output
No response
Contact Details
No response
The text was updated successfully, but these errors were encountered: