https://sourceware.org/bugzilla/show_bug.cgi?id=25366
Frank Ch. Eigler changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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
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
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
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