# The last sort takes 3s only, so it's not the core problem. time find debian/build/build-oem \( -name vmlinux -o -name \*.ko \) -print0 | \ xargs -0 -P $(nproc) -I % \ sh -c "dwarfdump -i % | sed -n '/DW_AT_\(call\|decl\)_file.*\//s|.*\s/|/|p' | sort -u | flock -x debian/build/build-oem/sources.list.lock cat" > \ debian/build/build-oem/sources.list
real 6m24.701s user 38m56.094s sys 6m17.660s -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2104911 Title: sources list generation using dwarfdump takes up to 0.5hr in build process To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2104911/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs