diff options
author | Tiancong Wang <tcwang@google.com> | 2020-07-27 15:27:27 -0700 |
---|---|---|
committer | Tiancong Wang <tcwang@google.com> | 2020-07-28 18:25:22 +0000 |
commit | d81dc939e7a1778b1e93f16f022c8634f509c9a8 (patch) | |
tree | 2873bcf35299f4a4e464490bb266f052ed68f13f /compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json | |
parent | 92596836d539e53bb14e659cbaec5206d74f0c56 (diff) | |
download | toolchain-utils-d81dc939e7a1778b1e93f16f022c8634f509c9a8.tar.gz |
afdo_tools: Update script to sort profiles by timestamp
Our update_kernel_afdo tries to get all the profiles with gsutil.
However, the command gives results by sorting the profile name,
so the last profile is not necessarily the newest. A counter
example is:
R86-13310.3-1594633089.gcov.xz appears after
R86-13310.18-1595237847.gcov.xz
So this patch sorts the results of gsutil by the timestamp and
grep all the master profiles (otherwise we might get some
beta/stable profiles).
BUG=None
TEST=Tool can be used to generate kernel_afdo.json CL
Change-Id: I9c9f6ee2ab446f5e07ea577e11f0c3d562bff5e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2321122
Commit-Queue: Tiancong Wang <tcwang@google.com>
Tested-by: Tiancong Wang <tcwang@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json')
0 files changed, 0 insertions, 0 deletions