This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y
- From: Arnaldo Carvalho de Melo <acme at kernel dot org>
- To: Masami Hiramatsu <mhiramat at kernel dot org>
- Cc: Jiri Olsa <jolsa at kernel dot org>, Namhyung Kim <namhyung at kernel dot org>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, systemtap at sourceware dot org, Mark Wielaard <mark at klomp dot org>
- Date: Wed, 18 Apr 2018 12:05:16 -0300
- Subject: Re: perf probe line numbers + CONFIG_DEBUG_INFO_SPLIT=y
- Dmarc-filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD13A2178F
- References: <20180417174701.GD3625@kernel.org> <20180418122343.67575c580c0dc5cf11b6ddeb@kernel.org> <20180418230301.fd26676ece5b2dc16d98b266@kernel.org>
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 CONFIG_DEBUG_INFO_SPLIT (\f2.dwo\f1 files) option.
> Stick with plain ELF/DWARF (optinally split, Fedora-style), if possible.
> ===
> So, it seems that elfutils may not support this split debuginfo yet.
Ok, what about detecting that this is the case: .dwo is being used, as
detected by the presence of those .debug_*.dwo ELF sections and then
warning the user that this mode of operation is not supported yet?
- Arnaldo