This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't set statement probe in self-built linux-4.4


On Thu, Jul 14, 2016 at 10:20:56AM -0700, Josh Stone wrote:
> On 07/14/2016 09:08 AM, Chris Dunlop wrote:
> > On Fri, Jul 01, 2016 at 01:43:02PM +1000, Chris Dunlop wrote:
> > Any ideas?
> 
> $ grep DEBUG_INFO .config
> CONFIG_DEBUG_INFO=y
> # CONFIG_DEBUG_INFO_REDUCED is not set
> CONFIG_DEBUG_INFO_SPLIT=y
> CONFIG_DEBUG_INFO_DWARF4=y
> 
> I think SPLIT is the problem.  This puts all debuginfo into separate
> .dwo objects, and then vmlinux itself only contains DW_AT_GNU_dwo_name
> references from each CU.
> 
> There's no dwo_name support at all in elfutils yet, thus stap doesn't
> support it either.
> 
> The function probe that you are getting is based only on the symbol
> table, which is why you're not seeing any arguments either.  And
> statement probes aren't available at all without working debuginfo.

OK, that sounds like it explains the problem.

I'll remove the SPLIT and let you know...

Thanks!

Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]