Re: [PATCH 2/3 v3] src/readelf.c: Support concurrency for -w, --debug-dump

2025-06-05 Thread Mark Wielaard
Hi Aaron, On Tue, May 27, 2025 at 10:04:20AM -0400, Aaron Merey wrote: > Implement concurrent execution of print_debug_* functions during handling > of -w, --debug-dump using libthread.a. Do you intend to also enable this for other sections? > A new `-C, --concurrency=NUM` command line option co

[PATCH v2] doc: Update elf_begin.3

2025-06-05 Thread Aaron Merey
Signed-off-by: Aaron Merey --- v2: Address Mark's suggestions https://patchwork.sourceware.org/project/elfutils/patch/20250603012245.411580-1-ame...@redhat.com/ doc/elf_begin.3 | 118 ++-- 1 file changed, 93 insertions(+), 25 deletions(-) diff --git a

Re: [PATCH 1/3 v2] src: Add threadlib library for parallel job execution

2025-06-05 Thread Mark Wielaard
Hi Aaron, Part 2... On Thu, May 22, 2025 at 06:28:52PM -0400, Aaron Merey wrote: > +typedef enum { > + /* pthread_create has not been called. */ > + NOT_STARTED, > + > + /* pthread_create has been called. */ > + STARTED, > + > + /* The thread has finished running the job but has not been j

Re: [PATCH 1/3 v2] src: Add threadlib library for parallel job execution

2025-06-05 Thread Mark Wielaard
Hi Aaron, On Thu, 2025-05-22 at 18:28 -0400, Aaron Merey wrote: > Add new internal static library libthread.a that provides infrastructure > for eu-* tools to run functions concurrently using pthreads. > > threadlib.c manages per-job threads as well as per-job buffers for stdout > output. Output