Golang binary dwarf

2021-02-05 Thread Manoj Kumar via Elfutils-devel
Hi,Using dyninst, I am trying to access local variables and arguments of a function which is part of a go binary.To get local variables, dyninst uses libdw to find all the modules. It uses dwarf_nextcu function of libdw to find all the modules of binary.When I compile a go binary using "go build

Re: elfutils 0.183 release planning - next week (Monday Feb 8)

2021-02-05 Thread Mark Wielaard
Hi all, On Mon, 2021-02-01 at 16:04 +0100, Mark Wielaard wrote: > I believe I reviewed all pending patches, please yell and scream if I > missed something. > > It has been 3 months since 0.182. There have been almost 100 commits. > Various bug fixes. And some issues, like recognizing SHF_GNU_RETA

Re: PATCH: PR27092 debuginfod improve low-memory operations

2021-02-05 Thread Mark Wielaard
Hi, Just for the list to have it archived. We did briefly discuss this on irc. The changes have already been pushed. On Fri, 2021-02-05 at 18:24 +0100, Mark Wielaard wrote: > On Thu, 2021-02-04 at 20:45 -0500, Frank Ch. Eigler via Elfutils- > devel wrote: > > - New prometheus metrics to t

[PATCH] Prepare for 0.183

2021-02-05 Thread Mark Wielaard
Set version to 0.183 Update NEWS and elfutils.spec.in. Set copyright year in configure.ac and printversion. Regenerate po/*.po files. Signed-off-by: Mark Wielaard --- ChangeLog |6 + NEWS| 16 + config/ChangeLog|4 + config/elfutils.spec.in |

Re: [PATCH v3] backends/ppc_initreg.c: include .

2021-02-05 Thread Mark Wielaard
On Fri, 2021-02-05 at 21:00 +0300, Dmitry V. Levin wrote: > On Fri, Feb 05, 2021 at 02:52:06PM -0300, Érico Nogueira via > Elfutils-devel wrote: > > > > diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c > > index 0e0d3599..e5cca7e1 100644 > > --- a/backends/ppc_initreg.c > > +++ b/backe

Re: [PATCH v3] backends/ppc_initreg.c: include .

2021-02-05 Thread Dmitry V. Levin
On Fri, Feb 05, 2021 at 02:52:06PM -0300, Érico Nogueira via Elfutils-devel wrote: > From: Érico Rolim > > Necessary on musl for struct pt_regs definition, doesn't affect the > build on glibc, since includes the same header. > > Signed-off-by: Érico Rolim > --- > backends/ChangeLog | 4 +

[PATCH v3] backends/ppc_initreg.c: include .

2021-02-05 Thread Érico Nogueira via Elfutils-devel
From: Érico Rolim Necessary on musl for struct pt_regs definition, doesn't affect the build on glibc, since includes the same header. Signed-off-by: Érico Rolim --- backends/ChangeLog | 4 backends/ppc_initreg.c | 1 + 2 files changed, 5 insertions(+) diff --git a/backends/ChangeLog

Re: [PATCH] ar: Pull should_truncate_fname() into file scope

2021-02-05 Thread Mark Wielaard
Hi Timm, On Wed, 2021-02-03 at 15:44 +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of a nested function this way. I must say I still don't fully understand this code. But at least I can see that the reworked code does the same thing as the original. So I added a ChangeLog entry and pushed

Re: [PATCH v2] backends/ppc_initreg.c: include .

2021-02-05 Thread Érico Nogueira via Elfutils-devel
Em 05/02/2021 12:06, Mark Wielaard escreveu: Hi, On Tue, 2021-02-02 at 06:22 +0300, Dmitry V. Levin wrote: Said that, I think it's safe to include right before on powerpc since in glibc the latter includes the former. So that would move the include after the include. Érico, would that

[Bug debuginfod/27092] handle low memory conditions better

2021-02-05 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27092 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debuginfod/27323] concurrency during grooming/scanning

2021-02-05 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27323 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: PATCH: PR27092 debuginfod improve low-memory operations

2021-02-05 Thread Mark Wielaard
Hi Frank, On Thu, 2021-02-04 at 20:45 -0500, Frank Ch. Eigler via Elfutils-devel wrote: > PR27092: debuginfod low-memory handling > > A couple of closely related pieces of work allow more early warning > about low storage/memory conditions: > > - New prometheus metrics to

Re: PATCH PR27323 debuginfod concurrency++

2021-02-05 Thread Mark Wielaard
Hi Frank, On Tue, 2021-02-02 at 16:59 -0500, Frank Ch. Eigler via Elfutils-devel wrote: > PR27323 debuginfod: improve query concurrency with grooming > > Start using a second sqlite3 database connection for webapi query > servicing. This allows much better concurrency when long-r

[Bug tools/27351] please add a debugedit binary to elfutils

2021-02-05 Thread christian.morales.vega at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27351 christian.morales.vega at gmail dot com changed: What|Removed |Added CC||christian.mor

Re: [PATCH] readelf: Remove show_op_index variable

2021-02-05 Thread Mark Wielaard
Hi Timm, On Tue, 2021-02-02 at 11:23 +0100, Timm Bäder via Elfutils-devel wrote: > advance_pc() uses show_op_index to save whether the current op_index > is > > 0 OR the new op_index is > 0. > > The new op index is calculated via > > new_op_index = (op_index + op_advance) % max_ops_per_instr; >

Re: [PATCH v2] backends/ppc_initreg.c: include .

2021-02-05 Thread Mark Wielaard
Hi, On Tue, 2021-02-02 at 06:22 +0300, Dmitry V. Levin wrote: > Said that, I think it's safe to include right before > on powerpc since in glibc the latter includes the former. So that would move the include after the include. Érico, would that work in your case? Thanks, Mark

Re: [PATCH v2] libdwfl: use GNU strerror_r only when available.

2021-02-05 Thread Dmitry V. Levin
On Fri, Feb 05, 2021 at 03:46:42PM +0100, Mark Wielaard wrote: > On Tue, 2021-02-02 at 05:56 +0300, Dmitry V. Levin wrote: > > On Mon, Feb 01, 2021 at 09:16:56PM -0300, Érico Nogueira via Elfutils-devel > > wrote: > > [...] > > > I'm not sure if it's a bug in this configure.ac or this macro, but >

[Bug general/21002] Incompatible with MUSL libc

2021-02-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=21002 Bug 21002 depends on bug 21010, which changed state. Bug 21010 Summary: Incompatible with MUSL libc: strerror_r https://sourceware.org/bugzilla/show_bug.cgi?id=21010 What|Removed |Added --

[Bug general/21010] Incompatible with MUSL libc: strerror_r

2021-02-05 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=21010 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org Resolut

Re: [PATCH v2] libdwfl: use GNU strerror_r only when available.

2021-02-05 Thread Mark Wielaard
On Tue, 2021-02-02 at 05:56 +0300, Dmitry V. Levin wrote: > On Mon, Feb 01, 2021 at 09:16:56PM -0300, Érico Nogueira via Elfutils-devel > wrote: > [...] > > I'm not sure if it's a bug in this configure.ac or this macro, but > > _GNU_SOURCE wasn't defined and lead to XSI strerror_r being used on >

[Bug tools/27351] please add a debugedit binary to elfutils

2021-02-05 Thread ldv at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27351 --- Comment #1 from Dmitry V. Levin --- I second this. The only technical complication I see is that debugedit uses Autotest for testing while the rest of elfutils uses tests driven by Automake. -- You are receiving this mail because: You a

[Bug tools/27351] New: please add a debugedit binary to elfutils

2021-02-05 Thread doko at debian dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27351 Bug ID: 27351 Summary: please add a debugedit binary to elfutils Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: t