|
| 1 | +CI testing: |
| 2 | + |
| 3 | +- support for github CI tests to build pahole with gcc |
| 4 | + and LLVM. |
| 5 | +- support for github CI tests to build pahole, a kernel |
| 6 | + along with BTF using that pahole and run tests. |
| 7 | +- tests can also be run standalone; see toplevel README |
| 8 | + for details. |
| 9 | + |
| 10 | +DWARF loader: |
| 11 | + |
| 12 | +- better detection of abort during thread processing. |
| 13 | + |
| 14 | +BTF encoder: |
| 15 | + |
| 16 | +- pahole now uses an improved scheme to detect presence of |
| 17 | + newer libbpf functions for cases where pahole is built with |
| 18 | + a non-embedded libbpf. A local weak declaration is added, |
| 19 | + and if the function is non-NULL - indicating it is present - |
| 20 | + the associated feature is avaialble. BTF feature detection |
| 21 | + makes use of this now and BTF features declared in pahole |
| 22 | + can provide a feature check function. |
| 23 | + |
| 24 | +- Type tags are now emitted for bpf_arena pointers if the |
| 25 | + attributes btf_feature is specified. |
| 26 | + |
| 27 | +- kfunc tagging has been refactored into btf_encoder__collect_kfuncs |
| 28 | + to simplify from the previous two-stage collect/tag process. |
| 29 | + |
| 30 | +- To support global variables other than per-CPU variables, code |
| 31 | + was added to match a variable with the relevant section. However |
| 32 | + variables in to-be-discarded sections have address value 0 and |
| 33 | + appeared to be in the per-CPU section (since it starts at 0). |
| 34 | + Add checks to ensure the variable really is in the relevant |
| 35 | + ELF section. |
| 36 | + |
| 37 | +- To avoid expensive variable address checking in the above case, |
| 38 | + filter out variables prefixed by __gendwarfksyms_ptr_ which are |
| 39 | + present when CONFIG_GENDWARFKSYMS is set. |
| 40 | + |
| 41 | +- Memory access bugs reported by address sanitizer were also fixed. |
0 commit comments