summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-02-06 14:05:58 +0300
committerDavid S. Miller <davem@davemloft.net>2025-02-10 18:04:18 +0300
commit12fd83ca44d8c4b0a78beab8178a1a6754eae1b3 (patch)
treed8acfd53895220fe5b23d6ea7c7d718f6147533c /tools/perf/scripts/python/export-to-sqlite.py
parentec15bc46c63cc21bba4c4071060797a4b51f50de (diff)
downloadlinux-12fd83ca44d8c4b0a78beab8178a1a6754eae1b3.tar.xz
netconsole: selftest: test for sysdata CPU
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 <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions