[announce] Void Linux debuginfod server

2020-11-23 Thread Érico Nogueira via Elfutils-devel
Hi! I am happy to announce that Void Linux is now hosting a debuginfod server in https://debuginfod.s.voidlinux.org ! It includes all packages for which we have debug packages (some packages, like chromium, have debug package generation disabled), for all of official architectures and libcs which

patch: debuginfod sqlite3 metrics

2020-11-23 Thread Frank Ch. Eigler via Elfutils-devel
Hi - >From 0b61f4c758a507fcc2243357363e44140bd13d82 Mon Sep 17 00:00:00 2001 ?!??!! From: "Frank Ch. Eigler" Date: Mon, 23 Nov 2020 19:58:10 -0500 Subject: [PATCH] debuginfod: sqlite3 metrics Add metrics for tracking sqlite3 error counts and query performance. The former looks like a new

Re: Buildbot failure in Wildebeest Builder on whole buildset

2020-11-23 Thread Mark Wielaard
On Mon, 2020-11-23 at 17:50 +, build...@builder.wildebeest.org wrote: > The Buildbot has detected a failed build on builder whole buildset > while building elfutils. > Full details are available at: > https://builder.wildebeest.org/buildbot/#builders/1/builds/630 > > Buildbot URL:

Buildbot failure in Wildebeest Builder on whole buildset

2020-11-23 Thread buildbot
The Buildbot has detected a failed build on builder whole buildset while building elfutils. Full details are available at: https://builder.wildebeest.org/buildbot/#builders/1/builds/630 Buildbot URL: https://builder.wildebeest.org/buildbot/ Worker for this Build: centos-x86_64 Build

Re: [PATCH] debuginfod-client: Add debuginfod_set_verbose_fd and DEBUGINFOD_VERBOSE

2020-11-23 Thread Mark Wielaard
Hi, On Wed, 2020-11-11 at 22:18 +0100, Mark Wielaard wrote: > 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

[PATCH 08/12] segment_report_module: Use one loop for p32/p64 arrays

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Do one loop check for 32/64 bit inside the loop, instead of outside. This way we have only one call site for the function called in the loop body. Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 52 +++- 1 file changed, 27

[PATCH 10/12] segment_report_module: Unify d32/d64 loops

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Just like we did before, use only one loop here and check for 32/64 bit in the loop body. This way we only have one call site for consider_dyn Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 28 ++-- 1 file changed, 14

[PATCH 11/12] segment_report_module: Inline consider_dyn() into only caller

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 40 +--- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index 8613ce21..046d5381 100644

[PATCH 03/12] segment_report_module: Pull finish_portion() info file scope

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index 848c3bec..c55168ed 100644 ---

[PATCH 04/12] segment_report_module: Pull read_portion() into file scope

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 77 +--- 1 file changed, 47 insertions(+), 30 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index c55168ed..01adfe9e 100644

[PATCH 12/12] segment_report_module: Inline consider_phdr() into only caller

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of the nested function this way Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 142 +-- 1 file changed, 66 insertions(+), 76 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c

[PATCH 09/12] segment_report_module: Inline read_phdr() into only caller

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder There is now only one caller for this nested function, so get rid of it by just inlining it there. Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git

[PATCH 07/12] segment_report_module: Get rid of nested final_read() function

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index 6c6f9f37..a69ead8f 100644 ---

[PATCH 06/12] segment_report_module: Pull consider_notes() into file scope

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 187 +++ 1 file changed, 101 insertions(+), 86 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index 6abbf992..6c6f9f37 100644

[PATCH 05/12] segment_report_module: Use a struct for build id information

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Keep the three build id fields in a struct. This will be an important clean up later. Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 54 1 file changed, 31 insertions(+), 23 deletions(-) diff --git

[PATCH 02/12] segment_report_module: Remove nested release_buffer() function

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index c587efd7..848c3bec 100644 ---

[PATCH 01/12] segment_report_module: Get rid of segment_read()

2020-11-23 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Just inline the memory_callback call everywhere segmenty_read was used. Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c

Remove nested functions from libdwfl V2

2020-11-23 Thread Timm Bäder via Elfutils-devel
Hi again, version 2 of this patch set. I removed segmend_read() entirely now, which meant modifying a bunch of later patches. Other than that, they are the same. Hope the --from to git send-email worked out, too. Thanks, Timm