From: Aaron Merey <amerey@redhat.com>
To: Milian Wolff <mail@milianw.de>
Cc: elfutils-devel@sourceware.org
Subject: Re: [PATCH] Introduce public dwfl_get_debuginfod_client API
Date: Thu, 7 Jul 2022 12:40:05 -0400 [thread overview]
Message-ID: <CAJDtP-TiR3w4S+iwiYkH_NAN7QyD_0kXuhcZimi+xOuHn4OTgQ@mail.gmail.com> (raw)
In-Reply-To: <3003776.hSsdSGGBHf@milian-workstation>
Hi Milian,
On Thu, Jul 7, 2022 at 10:47 AM Milian Wolff <mail@milianw.de> wrote:
>
> Dwfl can use debuginfod internally, which was so far totally opaque
> to the outside. While the functionality is great for users of the
> dwfl API, the long wait times induced by downloading of data over
> debuginfod lead to complaints by endusers. To offer them a bit more
> insight into the internal ongoings, one can now use e.g.
> `debuginfod_set_progressfn` on the handle returned by
> `dwfl_get_debuginfod_client` to report download progress.
>
> Rename get_client to dwfl_get_debuginfod_client and make it public.
> Unconditionally compile debuginfod-client.c and stub the new public
> function and always return NULL when debuginfod integration was
> disabled.
Thanks for the patch. This looks ok and I was able to successfully
run the testsuite with and without debuginfod enabled.
> @@ -70,7 +70,7 @@ libdwfl_a_SOURCES = dwfl_begin.c dwfl_end.c dwfl_error.c
> dwfl_version.c \
Some line breaks may have accidentally snuck into the patch. I had to
manually remove the line break right after "dwfl_error.c" for git to
apply the patch without error.
> +/* Return the internal debuginfod-client connection handle for the DWFL
> session.
> + When the client connection has not yet been initialized, it will be done
> on the
> + first call to this function. If elfutils is compiled without support for
> debuginfod,
Same goes for these line breaks.
Aaron
next prev parent reply other threads:[~2022-07-07 16:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-07 14:46 Milian Wolff
2022-07-07 16:40 ` Aaron Merey [this message]
2022-07-07 16:58 ` Milian Wolff
2022-07-07 17:09 ` Aaron Merey
2022-07-07 17:33 ` Milian Wolff
2022-07-07 17:42 ` Aaron Merey
2022-07-13 18:20 ` Aaron Merey
2022-07-13 19:36 ` Milian Wolff
2022-07-13 20:35 ` Aaron Merey
2022-07-13 20:38 ` Mark Wielaard
2022-07-13 21:15 ` Milian Wolff
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=CAJDtP-TiR3w4S+iwiYkH_NAN7QyD_0kXuhcZimi+xOuHn4OTgQ@mail.gmail.com \
--to=amerey@redhat.com \
--cc=elfutils-devel@sourceware.org \
--cc=mail@milianw.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).