summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-03-12 11:54:48 -0700
committerAlex Light <allight@google.com>2018-03-13 13:23:29 -0700
commit6717e5fae190386273accaa638e42000fa46ffcb (patch)
tree8bba976be62dc941760237c1115db894b987f787 /compiler/optimizing/loop_optimization.cc
parent35b71307292e16aafb9ae1c976eb065311e04f39 (diff)
Write a wrapper to record logcat while another process is running
It is often useful to have the device logcat from while our tests are running. Until now this had to be done manually. This adds a wrapper script that will run another script with logcat running in the background. The logcat is written to the '-o' or --output file. --logcat-invoke '<invoke>' lets one control how the logcat is collected. The output of the command is piped to the logcat file. The command is killed with SIGTERM when the testing ends. Users should be very careful that everything is properly quoted. Test: ./tools/wrap-logcat.py -o /tmp/test-logcat \ --logcat-invoke 'adb logcat -v threadtime' \ './test/run-test --dev 001-HelloWorld' Bug: 74429665 Change-Id: I70527b5b9e1547aa1f97a217ec56fd1ffc0c235c
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions