diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2023-04-11 23:35:25 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2023-04-12 16:29:34 -0400 |
commit | 64242dcba918ae33dcefed495783bbe8c032f9d2 (patch) | |
tree | 1528ce14b189ebb2f5e8edb8cd005d31dd85cace /config/elfutils.spec.in | |
parent | 6e9718089b05403947d8255423a849d425305925 (diff) | |
download | elfutils-users/fche/try-pr29472e.tar.gz |
PR29472: debuginfod: add metadata query webapi, C api, clientusers/fche/try-pr29472e
This patch extends the debuginfod API with a "metadata query"
operation. It allows clients to request an enumeration of file names
known to debuginfod servers, returning a JSON response including the
matching buildids. This lets clients later download debuginfo for a
range of versions of the same named binaries, in case they need to to
prospective work (like systemtap-based live-patching). It also lets
server operators implement prefetch triggering operations for popular
but slow debuginfo slivers like kernel vdso.debug files on fedora.
Implementation requires a modern enough json-c library.
% debuginfod-find metadata file /bin/ls
% debuginfod-find metadata glob "/usr/local/bin/c*"
Documentation and testing are included.
Signed-off-by: Ryan Goldberg <rgoldber@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'config/elfutils.spec.in')
0 files changed, 0 insertions, 0 deletions