diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-12-11 04:42:16 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-11 06:08:03 +0300 |
commit | 94162c8daa839bd0de791f66d754a880e2787c82 (patch) | |
tree | 1859d57d227af77503227b205a330bbd8ce7f2cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 917963d0b30f9c4153c372c165178501d97b6b55 (diff) | |
download | linux-94162c8daa839bd0de791f66d754a880e2787c82.tar.xz |
rcutorture: Handle different mpstat versions
The mpstat command recently added the %gnice column, which messes up
the cpu2use.sh script's idle-CPU calculations. This commit therefore
uses $NF instead of $12 to select the last (%idle) column.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions