Re: [PATCH 2/6] module: add support for CONFIG_MODULE_DESTRUCTORS

2021-03-12 Thread Johannes Berg
On Fri, 2021-03-12 at 10:55 +0100, Johannes Berg wrote: > From: Johannes Berg > > At least in ARCH=um with CONFIG_GCOV (which writes all the > coverage data directly out from the userspace binary rather > than presenting it in debugfs) it's necessary to run all > the atexit handlers

[PATCH 2/6] module: add support for CONFIG_MODULE_DESTRUCTORS

2021-03-12 Thread Johannes Berg
From: Johannes Berg At least in ARCH=um with CONFIG_GCOV (which writes all the coverage data directly out from the userspace binary rather than presenting it in debugfs) it's necessary to run all the atexit handlers (dtors/fini_array) so that gcov actually does write out the data. Add a new