Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 18, 2018 at 11:03:01PM +0900, Masami Hiramatsu escreveu: > And I found below description in systemtap document(man/error::dwarf.7stap). > === > debuginfo configuration > Some tools may generate debuginfo that is unsupported by systemtap, such > as the linux kernel

Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 18, 2018 at 11:03:01PM +0900, Masami Hiramatsu escreveu: > And I found below description in systemtap document(man/error::dwarf.7stap). > === > debuginfo configuration > Some tools may generate debuginfo that is unsupported by systemtap, such > as the linux kernel

Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Mark Wielaard
On Wed, 2018-04-18 at 23:03 +0900, Masami Hiramatsu wrote: > It shows where we can see the .dwo file. > However, it seems elfutils doesn't support dwo. > > $ eu-readelf --debug-dump=info ~/kbin/linux.x86_64/fs/namei.dwo  > eu-readelf: cannot get debug context descriptor: No DWARF information >

Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Mark Wielaard
On Wed, 2018-04-18 at 23:03 +0900, Masami Hiramatsu wrote: > It shows where we can see the .dwo file. > However, it seems elfutils doesn't support dwo. > > $ eu-readelf --debug-dump=info ~/kbin/linux.x86_64/fs/namei.dwo  > eu-readelf: cannot get debug context descriptor: No DWARF information >

Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Masami Hiramatsu
On Wed, 18 Apr 2018 12:23:43 +0900 Masami Hiramatsu wrote: > Hi Arnaldo, > > On Tue, 17 Apr 2018 14:47:01 -0300 > Arnaldo Carvalho de Melo wrote: > > > Hi Masami, > > > > I just tried building the kernel using: > > > > CONFIG_DEBUG_INFO=y > > #

Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y

2018-04-18 Thread Masami Hiramatsu
On Wed, 18 Apr 2018 12:23:43 +0900 Masami Hiramatsu wrote: > Hi Arnaldo, > > On Tue, 17 Apr 2018 14:47:01 -0300 > Arnaldo Carvalho de Melo wrote: > > > Hi Masami, > > > > I just tried building the kernel using: > > > > CONFIG_DEBUG_INFO=y > > # CONFIG_DEBUG_INFO_REDUCED is not set > >