Re: [PATCH] debuginfod-find: Be a bit less verbose with -v

2020-11-11 Thread Mark Wielaard
Hi Frank, On Wed, 2020-11-11 at 15:57 -0500, Frank Ch. Eigler wrote: > On Wed, Nov 11, 2020 at 09:31:38PM +0100, Mark Wielaard wrote: > > debuginfod-find -v enables a progressfn that prints the Progress > > every > > time the callback is called. [...] > > [...] > > - fprintf (stderr, "Progress %l

[PATCH] debuginfod-client: Add debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE

2020-11-11 Thread Mark Wielaard
Introduce a new function debuginfod_set_verbose_fd which will produce verbose output on a given file descriptor (STDERR_FILENO if the environment variable DEBUGINFOD_VERBOSE is set) showing how the search for a particular client query is going. Example output: debuginfod_find_debuginfo 1234567890

Re: [PATCH] debuginfod-find: Be a bit less verbose with -v

2020-11-11 Thread Frank Ch. Eigler via Elfutils-devel
Hi - On Wed, Nov 11, 2020 at 09:31:38PM +0100, Mark Wielaard wrote: > debuginfod-find -v enables a progressfn that prints the Progress every > time the callback is called. [...] > [...] > - fprintf (stderr, "Progress %ld / %ld\n", a, b); > [...] Another option is to use something close what the

[PATCH] debuginfod-find: Be a bit less verbose with -v

2020-11-11 Thread Mark Wielaard
debuginfod-find -v enables a progressfn that prints the Progress every time the callback is called. For slow transfers or big downloads this can be really verbose (hundreds a times a second). Slow it down a bit, so it only prints the progress at most 5 times a second. Signed-off-by: Mark Wielaard

[Bug debuginfod/25366] debuginfod scan: more progress/status

2020-11-11 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25366 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---