Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Sedat Dilek
On Wed, Feb 17, 2021 at 2:56 PM Arnaldo Carvalho de Melo wrote: > > > > On February 17, 2021 10:40:43 AM GMT-03:00, Sedat Dilek > wrote: > >On Wed, Feb 17, 2021 at 1:44 PM Arnaldo Carvalho de Melo > > wrote: > >> > >> Em Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa escreveu: > >> > Currently

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Arnaldo Carvalho de Melo
On February 17, 2021 10:40:43 AM GMT-03:00, Sedat Dilek wrote: >On Wed, Feb 17, 2021 at 1:44 PM Arnaldo Carvalho de Melo > wrote: >> >> Em Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa escreveu: >> > Currently when processing DWARF function, we check its entrypoint >> > against ftrace addre

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Sedat Dilek
On Wed, Feb 17, 2021 at 1:44 PM Arnaldo Carvalho de Melo wrote: > > Em Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa escreveu: > > Currently when processing DWARF function, we check its entrypoint > > against ftrace addresses, assuming that the ftrace address matches > > with function's entrypo

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Arnaldo Carvalho de Melo
Em Sat, Feb 13, 2021 at 07:30:48PM -0700, Nathan Chancellor escreveu: > On Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa wrote: > > Currently when processing DWARF function, we check its entrypoint > > against ftrace addresses, assuming that the ftrace address matches > > with function's entrypo

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Arnaldo Carvalho de Melo
Em Sat, Feb 13, 2021 at 08:11:40PM +0100, Sedat Dilek escreveu: > On Sat, Feb 13, 2021 at 5:46 PM Jiri Olsa wrote: > > > > Currently when processing DWARF function, we check its entrypoint > > against ftrace addresses, assuming that the ftrace address matches > > with function's entrypoint. > > >

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-17 Thread Arnaldo Carvalho de Melo
Em Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa escreveu: > Currently when processing DWARF function, we check its entrypoint > against ftrace addresses, assuming that the ftrace address matches > with function's entrypoint. > > This is not the case on some architectures as reported by Nathan

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-13 Thread Nathan Chancellor
On Sat, Feb 13, 2021 at 05:46:48PM +0100, Jiri Olsa wrote: > Currently when processing DWARF function, we check its entrypoint > against ftrace addresses, assuming that the ftrace address matches > with function's entrypoint. > > This is not the case on some architectures as reported by Nathan > w

Re: [PATCHv2] btf_encoder: Match ftrace addresses within elf functions

2021-02-13 Thread Sedat Dilek
On Sat, Feb 13, 2021 at 5:46 PM Jiri Olsa wrote: > > Currently when processing DWARF function, we check its entrypoint > against ftrace addresses, assuming that the ftrace address matches > with function's entrypoint. > > This is not the case on some architectures as reported by Nathan > when buil