[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200917135443.GA24128@redhat.com>
Date: Thu, 17 Sep 2020 09:54:43 -0400
From: "Frank Ch. Eigler" <fche@...hat.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Aaron Merey <amerey@...hat.com>,
Daniel Thompson <daniel.thompson@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] perf probe: Support debuginfod client
Hi -
> > > I need to support this in pahole...
> >
> > pahole/dwarves use elfutils, so it already has automatic support.
> > https://sourceware.org/elfutils/Debuginfod.html
>
> I'm still not sure that which interface of elfutils I should use
> for this "automatic" debuginfod support. Are there good documentation
> about it?
The libdwfl part of the elfutils API falls back to debuginfod lookups
internally, so e.g. systemtap had to do nothing to benefit.
> Since this series just for the kernel binary, I have to check we
> can do something on user-space binaries.
It should work identically & transparently. If you're using one of
a few key packages of a few mainstream distros, the public debuginfod
server may already have the material available.
- FChE
Powered by blists - more mailing lists