Re: [PATCH 1/2] tools/perf: Add text_end to "struct dso" to save .text section size

2023-08-11 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 11, 2023 at 10:51:27AM +0530, Athira Rajeev escreveu: > Update "struct dso" to include new member "text_end". > This new field will represent the offset for end of text > section for a dso. This value is derived as: > sh_size (Size of section in byes) + sh_offset (Section file > offst)

[PATCH 1/2] tools/perf: Add text_end to "struct dso" to save .text section size

2023-08-10 Thread Athira Rajeev
Update "struct dso" to include new member "text_end". This new field will represent the offset for end of text section for a dso. This value is derived as: sh_size (Size of section in byes) + sh_offset (Section file offst) of the elf header for text. Signed-off-by: Athira Rajeev --- tools/perf/u