summaryrefslogtreecommitdiff
path: root/startop/scripts
diff options
context:
space:
mode:
author Yan Wang <yawanng@google.com> 2019-10-09 16:12:45 -0700
committer Yan Wang <yawanng@google.com> 2019-10-09 16:26:30 -0700
commit87d025efe3eebc56eaf35923bd9ea4885a468474 (patch)
tree55f72c9ecefa0643a6509d6b61285a727927e7a7 /startop/scripts
parentfe708d72ec761e1fad9586c460f4f3ae2509c01b (diff)
startop: Change the pattern to find the completion of readahead.
The pattern is shown in logcat and should match the text in iorap. Test: python app_startup_runner.py --package com.google.android.GoogleCamera --readahead fadvise --inodes ../tmp.txt -d Bug: 142350683 Change-Id: Ia708ea8d29f4c97126e9e721284a0d346e19573b
Diffstat (limited to 'startop/scripts')
-rwxr-xr-xstartop/scripts/iorap/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/startop/scripts/iorap/common b/startop/scripts/iorap/common
index 031dabfadeab..387e45d431bd 100755
--- a/startop/scripts/iorap/common
+++ b/startop/scripts/iorap/common
@@ -248,6 +248,6 @@ iorapd_readahead_wait_until_finished() {
local remote_path="$(_iorapd_path_to_data_file "$package" "$activity" "compiled_trace.pb")"
# See 'read_ahead.cc' LOG(INFO).
- local pattern="ReadAhead completed ($remote_path)"
+ local pattern="Description = $remote_path"
logcat_wait_for_pattern "$timeout" "$timestamp" "$pattern"
}