From: "Frank Ch. Eigler" <fche@redhat.com>
To: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Aaron Merey <amerey@redhat.com>,
Daniel Thompson <daniel.thompson@linaro.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] perf probe: Support debuginfod client
Date: Thu, 17 Sep 2020 09:54:43 -0400 [thread overview]
Message-ID: <20200917135443.GA24128@redhat.com> (raw)
In-Reply-To: <20200917120728.d5ecb9587ff3366b6c04228b@kernel.org>
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
next prev parent reply other threads:[~2020-09-17 14:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 16:44 [PATCH 0/2] perf probe: Support debuginfod client Masami Hiramatsu
2020-09-16 16:44 ` [PATCH 1/2] perf probe: Fix to adjust symbol address with correct reloc_sym address Masami Hiramatsu
2020-09-16 16:44 ` [PATCH 2/2] perf probe: Fall back to debuginfod query if debuginfo and source not found Masami Hiramatsu
2020-09-18 0:40 ` Arnaldo Carvalho de Melo
2020-09-18 2:47 ` Masami Hiramatsu
2020-09-18 12:26 ` Arnaldo Carvalho de Melo
2020-09-16 18:13 ` [PATCH 0/2] perf probe: Support debuginfod client Frank Ch. Eigler
2020-09-16 18:52 ` Arnaldo Carvalho de Melo
2020-09-16 20:17 ` Frank Ch. Eigler
2020-09-17 3:07 ` Masami Hiramatsu
2020-09-17 13:54 ` Frank Ch. Eigler [this message]
2020-09-17 19:56 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200917135443.GA24128@redhat.com \
--to=fche@redhat.com \
--cc=acme@kernel.org \
--cc=acme@redhat.com \
--cc=amerey@redhat.com \
--cc=daniel.thompson@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox