On Fri, Jan 24, 2025 at 07:16:46AM -0800, Breno Leitao wrote:
> Add a new selftest to verify that the netconsole module correctly
> handles CPU runtime data in sysdata. The test validates three scenarios:
> 
> 1. Basic CPU sysdata functionality - verifies that cpu=X is appended to
>    messages
> 2. CPU sysdata with userdata - ensures CPU data works alongside userdata
> 3. Disabled CPU sysdata - confirms no CPU data is included when disabled
> 
> The test uses taskset to control which CPU sends messages and verifies
> the reported CPU matches the one used. This helps ensure that netconsole
> accurately tracks and reports the originating CPU of messages.
> 
> Signed-off-by: Breno Leitao <lei...@debian.org>

Reviewed-by: Simon Horman <ho...@kernel.org>


Reply via email to