aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-11-08 06:59:25 -0800
committerJakub Kicinski <[email protected]>2024-11-11 19:05:48 -0800
commit43271bb5bf67e78def9c2898040505e7cb5935f3 (patch)
treef108c77c002a0780f31ac8e9bb07b62c64747448 /tools/perf/scripts/python/bin/stackcollapse-record
parent874ed898a2049cb326b1b28a22a831556a58d2c1 (diff)
net: netconsole: selftests: Check if netdevsim is available
The netconsole selftest relies on the availability of the netdevsim module. To ensure the test can run correctly, we need to check if the netdevsim module is either loaded or built-in before proceeding. Update the netconsole selftest to check for the existence of the /sys/bus/netdevsim/new_device file before running the test. If the file is not found, the test is skipped with an explanation that the CONFIG_NETDEVSIM kernel config option may not be enabled. Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions