[PATCH] readelf: Call __fsetlocking (stdout, FSETLOCKING_BYCALLER).

Mark Wielaard mark@klomp.org
Wed Jun 6 20:34:00 GMT 2018

On Mon, Jun 04, 2018 at 06:54:53PM +0200, Mark Wielaard wrote:
> We only call printf on stdout from one thread, so we don't need internal
> stdio locking for stdout.
> On my machine eu-readelf -N --debug-dump=info libxul.so > /dev/null
> goes from 65 seconds to 63 seconds.

Pushed to master.

More information about the Elfutils-devel mailing list