aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2019-10-21 15:38:00 +0000
committerPaul E. McKenney <[email protected]>2019-12-09 21:00:27 +0000
commitb8dfff975c370912c7ac633ca3e4a812dcd38f96 (patch)
tree8645331ce3007a1003053f31a94fa6d5add5e480 /tools/perf/scripts/python/event_analyzing_sample.py
parenttorture: Handle jitter for CPUs that cannot be offlined (diff)
downloadkernel-b8dfff975c370912c7ac633ca3e4a812dcd38f96.tar.gz
kernel-b8dfff975c370912c7ac633ca3e4a812dcd38f96.zip
torture: Handle systems lacking the mpstat command
The rcutorture scripting uses the mpstat command to determine how much the system is being used, and adjusts make's -j argument accordingly. However, mpstat isn't installed by default, so it would be good if the scripting does something useful when mpstat isn't present. This commit therefore makes the scripts assumes that if mpstat is not present, they are free to use all the CPUs. Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions