Re: [PATCH AUTOSEL 4.9 4/4] init/gcov: allow CONFIG_CONSTRUCTORS on UML to fix module gcov

2021-02-08 Thread Sasha Levin
On Mon, Feb 08, 2021 at 07:25:21PM +0100, Johannes Berg wrote: On Mon, 2021-02-08 at 18:00 +, Sasha Levin wrote: From: Johannes Berg [ Upstream commit 55b6f763d8bcb5546997933105d66d3e6b080e6a ] On ARCH=um, loading a module doesn't result in its constructors getting called, which breaks

Re: [PATCH AUTOSEL 4.9 4/4] init/gcov: allow CONFIG_CONSTRUCTORS on UML to fix module gcov

2021-02-08 Thread Johannes Berg
On Mon, 2021-02-08 at 18:00 +, Sasha Levin wrote: > From: Johannes Berg > > [ Upstream commit 55b6f763d8bcb5546997933105d66d3e6b080e6a ] > > On ARCH=um, loading a module doesn't result in its constructors getting > called, which breaks module gcov since the debugfs files are never >

[PATCH AUTOSEL 4.9 4/4] init/gcov: allow CONFIG_CONSTRUCTORS on UML to fix module gcov

2021-02-08 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 55b6f763d8bcb5546997933105d66d3e6b080e6a ] On ARCH=um, loading a module doesn't result in its constructors getting called, which breaks module gcov since the debugfs files are never registered. On the other hand, in-kernel constructors have already been