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
BTF flattens multi-dimensional arrays into 1-D array.
The tests field_analyser_btf.btf_types and clang_parser_btf.btf had to be modified as follow:
field_analyser_btf.btf_types
clang_parser_btf.btf
Foo1.d
Modify field_analyser_btf.btf_types and clang_parser_btf.btf so they use the commented code for the field Foo1.d.
The text was updated successfully, but these errors were encountered:
I think this is a problem with pahole's DWARF -> BTF translator: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/btf_encoder.c#n1199
We use it to generate our test BTF data here:
bpftrace/tests/data/CMakeLists.txt
Lines 16 to 22 in 3691e71
Sorry, something went wrong.
No branches or pull requests
BTF flattens multi-dimensional arrays into 1-D array.
The tests
field_analyser_btf.btf_types
andclang_parser_btf.btf
had to be modified as follow:Foo1.d
was set to 12 instead of the correct number 3What reproduces the bug? Provide code if possible.
Modify
field_analyser_btf.btf_types
andclang_parser_btf.btf
so they use the commented code for the fieldFoo1.d
.The text was updated successfully, but these errors were encountered: