Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87d025ef authored by Yan Wang's avatar Yan Wang
Browse files

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
parent fe708d72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
}