diff options
author | SeongJae Park <sj38.park@gmail.com> | 2017-11-03 19:17:27 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-11 09:18:26 -0800 |
commit | fa48beb5f485a82a15f777198c770feb6d01c794 (patch) | |
tree | 043479f79ae750564889b2313ef3ce1aa4534f44 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 81394e3f6df8f72895354fe29a1ef60cb0765a78 (diff) |
rcutorture: Simplify logging
Both the 'kvm.sh' and 'kvm-test-1-run.sh' scripts log messages by printing
the message to 'stdout' and then also printing it into the log file.
Generation of the message thus occurs twice, once for 'stdout' and once
for the log file. Moreover, many of the messages contain 'date' output,
which results in date being invoked twice (once for stdout print, once
for log file write). As a result, the date information in stdout and
log file can differ, which could cause confusion.
This commit therefore simplifies the logging procedure by using 'tee'.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions