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. I tried the approach I described in my former email and basically process all dwarf data first and collect args before we generate any BTF function. I had to change LSK__DELETE to LSK__KEEPIT for every CU we process, so that might have some implications that I still need to check. Andrii, could you please check this with your gcc? thanks, jirka --- Jiri Olsa (3): btf_encoder: Generate also .init functions btf_encoder: Put function generation code to generate_func btf_encoder: Func generation fix btf_encoder.c | 177 +++++++++++++++++++++++++++++++++++---------------------------------- pahole.c | 2 +- 2 files changed, 91 insertions(+), 88 deletions(-)