commit | 74a6b0951679e53f9bd43170bbddb3455a068792 | [log] [tgz] |
---|---|---|
author | Bob Haarman <inglorion@google.com> | Tue Jun 23 15:44:05 2020 -0700 |
committer | Bob Haarman <inglorion@chromium.org> | Wed Jun 24 18:36:08 2020 +0000 |
tree | 873e95f023566404124c8d0a649124eb7b8d7d40 | |
parent | 163efaa5f94d595a94b97f87c418c3c2659eb6ef [diff] |
afdo_tools: add update_kernel_afdo script This adds a script, update_kernel_afdo, which automatically updates afdo_metadata/kernel_afdo.json. The changes are then shown with git diff and can be committed with git commit after review. BUG=None TEST=Ran the script, including with some variations to see the failure modes. Change-Id: Ibe473a80a874e32ddcb9c292e1c018fac72e7292 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2261732 Commit-Queue: Bob Haarman <inglorion@chromium.org> Tested-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.