diff options
author | Paul E. McKenney <[email protected]> | 2019-01-22 19:23:00 -0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2019-03-26 14:42:53 -0700 |
commit | 24aca4aea4f0179e0e56cf9ec610c27d07702945 (patch) | |
tree | 72f765ac677410cbe5cf9fd69a156efb10b34df9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
torture: Don't try to offline the last CPU
If there is only one online CPU, it doesn't make sense to try to offline
it, as any such attempt is guaranteed to fail. This commit therefore
check for this condition and refuses to attempt the nonsensical.
Reported-by: Su Yue <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Tested-By: Su Yue <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions