Re: [PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-25 Thread Namhyung Kim
On Fri, Jun 23, 2017 at 11:27:25AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 23, 2017 at 02:48:23PM +0900, Namhyung Kim escreveu: > > When /proc/kallsyms is used for kernel address, addresses in module can > > be changed when the module is reloaded. So if one did perf record with > >

Re: [PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-25 Thread Namhyung Kim
On Fri, Jun 23, 2017 at 11:27:25AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 23, 2017 at 02:48:23PM +0900, Namhyung Kim escreveu: > > When /proc/kallsyms is used for kernel address, addresses in module can > > be changed when the module is reloaded. So if one did perf record with > >

Re: [PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:23PM +0900, Namhyung Kim escreveu: > When /proc/kallsyms is used for kernel address, addresses in module can > be changed when the module is reloaded. So if one did perf record with > some module and then for some reason reload the module. Then perf > report might

Re: [PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:23PM +0900, Namhyung Kim escreveu: > When /proc/kallsyms is used for kernel address, addresses in module can > be changed when the module is reloaded. So if one did perf record with > some module and then for some reason reload the module. Then perf > report might

[PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-22 Thread Namhyung Kim
When /proc/kallsyms is used for kernel address, addresses in module can be changed when the module is reloaded. So if one did perf record with some module and then for some reason reload the module. Then perf report might see a different address for the module and the output can show incorrect

[PATCH/RFC 5/9] perf symbols: Fixup the end address of kernel map properly

2017-06-22 Thread Namhyung Kim
When /proc/kallsyms is used for kernel address, addresses in module can be changed when the module is reloaded. So if one did perf record with some module and then for some reason reload the module. Then perf report might see a different address for the module and the output can show incorrect