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(-)