mbox series

[PATCHv2,0/2] btf_encoder: Fix functions BTF data generation

Message ID 20201113151222.852011-1-jolsa@kernel.org (mailing list archive)
Headers show
Series btf_encoder: Fix functions BTF data generation | expand

Message

Jiri Olsa Nov. 13, 2020, 3:12 p.m. UTC
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.

v2 changes:
  - drop patch 3 logic and just change conditions
    based on Andrii's suggestion
  - drop patch 2
  - add ack for patch 1

Andrii,
please check if it's working with your gcc.

thanks,
jirka


---
Jiri Olsa (2):
      btf_encoder: Generate also .init functions
      btf_encoder: Fix function generation

 btf_encoder.c | 67 ++++++++++++-------------------------------------------------------
 1 file changed, 12 insertions(+), 55 deletions(-)