btf_encoder: Fix functions BTF data generation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v22 patches 11 repliesSuperseded
- v1 RFC3 patches 11 repliesSuperseded
Changes in v3 from the cover letter
- move 'generated' flag set out of should_generate_function
- rename should_generate_function to find_function
- added ack
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btf_encoder: Generate also .init functionsbtf_encoder.c | +2 | 0 replies | |
| 2/2 | btf_encoder: Fix function generationbtf_encoder.c | +19 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrii Nakryiko |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv3 0/2] btf_encoder: Fix functions BTF data generation
hi,
recent btf encoder's changes brakes BTF data for some gcc versions. The problem is that some functions can appear in dwarf data in some instances without arguments, while they are defined with some.
v3 changes:
- move 'generated' flag set out of should_generate_function
- rename should_generate_function to find_function
- added ack
v2 changes:
- drop patch 3 logic and just change conditions based on Andrii's suggestion
- drop patch 2
- add ack for patch 1
thanks,
jirka
---
Jiri Olsa (2):
btf_encoder: Generate also .init functions
btf_encoder: Fix function generation
btf_encoder.c | 86 +++++++++++++++++++++----------------------------------------------------------------- 1 file changed, 21 insertions(+), 65 deletions(-)