From 87d025efe3eebc56eaf35923bd9ea4885a468474 Mon Sep 17 00:00:00 2001 From: Yan Wang Date: Wed, 9 Oct 2019 16:12:45 -0700 Subject: 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 --- startop/scripts/iorap/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'startop/scripts') 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" } -- cgit v1.2.3-59-g8ed1b