We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As mentioned in this article (https://docs.kernel.org/core-api/unaligned-memory-access.html), unaligned memory access can be costly even if it doesn't cause an exception or crash. The BPF code here (https://github.com/apache/skywalking-rover/blob/main/bpf/include/socket_data.h#L131-L132), when the buffer length exceeds 2047, gets truncated and then read and copied multiple times. Moreover, the subsequent reads and copies clearly have unaligned addresses.
No response
The text was updated successfully, but these errors were encountered:
tsint
No branches or pull requests
Search before asking
Description
As mentioned in this article (https://docs.kernel.org/core-api/unaligned-memory-access.html), unaligned memory access can be costly even if it doesn't cause an exception or crash. The BPF code here (https://github.com/apache/skywalking-rover/blob/main/bpf/include/socket_data.h#L131-L132), when the buffer length exceeds 2047, gets truncated and then read and copied multiple times. Moreover, the subsequent reads and copies clearly have unaligned addresses.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: