blob: 28a507196cacd1ab73957ca3652fb2da7eb7a819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
2019-12-19 Frank Ch. Eigler <fche@redhat.com>
* debuginfod-client.c (default_progressfn): New function.
(debuginfod_begin): Use it if $DEBUGINFOD_PROGRESS set.
(server_timeout): Bump to 30 seconds.
(debuginfod_query_server): Call progressfn -after- rather than
before curl ops, to make it likely that a successful transfer
results in final a=b call. Tweak cleanup sequence.
* debuginfod.h: Document $DEBUGINFOD_PROGRESS name.
2019-12-09 Mark Wielaard <mark@klomp.org>
* debuginfod-client.c (debuginfod_query_server): Check
server_urls_envvar early.
2019-12-03 Mark Wielaard <mark@klomp.org>
* debuginfod-client.c (debuginfod_query_server): Use separate
local variables for CURLcode curl_res and CURLMcode curlm_res.
2019-11-26 Mark Wielaard <mark@klomp.org>
* Makefile.am (BUILD_STATIC): Add needed libraries for libdw and
libdebuginfod.
2019-11-25 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx (groom): Add a sqlite3_db_release_memory()
at the end of periodic grooming to try to shrink the process.
2019-11-24 Mark Wielaard <mark@klomp.org>
* debuginfod.cxx (test_webapi_sleep): Removed.
(handler_cb): Don't check test_webapi_sleep and sleep.
(main): Don't set test_webapi_sleep.
2019-11-24 Mark Wielaard <mark@klomp.org>
* debuginfod.cxx (add_metric): New function.
(scan_source_file_path): Record metrics for
found_executable_total, found_debuginfo_total and
found_sourcerefs_total.
(scan_source_rpm_path): Likewise.
2019-11-07 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx: Add /metrics endpoint. Add numerous
calls to new functions inc_metric/set_metric to populate
threadsafe map containing stats. Add http content-type
response headers throughout.
(thread_main_*): Simplify counter/timer flow.
(main): Reorder web service shutdown to leave http running
as long as possible.
* debuginfod.8: Document it, add security caution.
2019-11-06 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx: Add new -L (symlink-following) mode.
* debuginfod.8: Document it.
2019-11-04 Frank Ch. Eigler <fche@redhat.com>
* debuginfo-client.c (debuginfod_set_progressfn): New function
for progress/interrupt callback.
(debuginfod_clean_cache, debuginfod_query_server): Call it.
* debuginfo.h: Declare it.
* debuginfod_set_progressfn.3, *_find_debuginfo.3: Document it.
* Makefile.am: Install it.
* libdebuginfod.map: Export it all under ELFUTILS_0.178 symversion.
* debuginfod-find.c: Add -v option to activate progress cb.
* debuginfod-find.1: Document it.
* debuginfod.cxx: Add $DEBUGINFOD_TEST_WEBAPI_SLEEP env var
to insert sleep in webapi callbacks, to help manual testing.
2019-10-28 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx: New file: debuginfod server.
* debuginfod.8: New file: man page.
* Makefile.am: Build it.
2019-10-28 Aaron Merey <amerey@redhat.com>
* debuginfod-client.c: New file: debuginfod client library.
* debuginfod.h: New file: header for same.
* libdebuginfod.map: New file: govern its solib exports.
* debuginfod-find.c: New file: command line frontend.
* debuginfod-find.1, debuginfod_find_source.3,
debuginfod_find_executable.3, debuginfod_find_debuginfo.3:
New man pages.
|