Files
third_party_elfutils/debuginfod/libdebuginfod.map
Mark Wielaard 609053a588 debuginfod-client: Add debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE
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
server urls "https://debuginfod.elfutils.org/ http://dbgd.usersys.com:3632/"
checking build-id
checking cache dir /home/mark/.cache/debuginfod_client
using timeout 90
init server 0 https://debuginfod.elfutils.org/
url 0 https://debuginfod.elfutils.org/buildid/1234567890/debuginfo
init server 1 http://dbgd.usersys.com:3632/
url 1 http://dbgd.usersys.com:3632/buildid/1234567890/debuginfo
query 2 urls in parallel
server response HTTP response code said error
url 0 The requested URL returned error: 404 Not Found
server response HTTP response code said error
url 1 The requested URL returned error: 404 Not Found
not found No such file or directory (err=-2)

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-11-23 16:58:36 +01:00

21 lines
426 B
Plaintext

ELFUTILS_0 { };
ELFUTILS_0.178 {
global:
debuginfod_begin;
debuginfod_end;
debuginfod_find_debuginfo;
debuginfod_find_executable;
debuginfod_find_source;
debuginfod_set_progressfn;
} ELFUTILS_0;
ELFUTILS_0.179 {
global:
debuginfod_set_user_data;
debuginfod_get_user_data;
debuginfod_get_url;
debuginfod_add_http_header;
} ELFUTILS_0.178;
ELFUTILS_0.183 {
debuginfod_set_verbose_fd;
} ELFUTILS_0.179;