xref: /aosp_15_r20/external/toolchain-utils/afdo_metadata/README.md (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li# Overview
2*760c253cSXin LiThis directory contains JSON files describing metadata of AFDO profiles
3*760c253cSXin Liused to compile packages (Chrome and kernel) in ChromeOS.
4*760c253cSXin Li
5*760c253cSXin Li# Description of each JSON Files
6*760c253cSXin Likernel_afdo.json contains the name of the latest AFDO profiles for each
7*760c253cSXin Likernel revision.
8*760c253cSXin Li
9*760c253cSXin Lichrome_afdo.json contains the name of the latest AFDO profiles used in
10*760c253cSXin Lilatest Chrome revision, including both benchmark and CWP profiles.
11*760c253cSXin Li
12*760c253cSXin Li# Usage
13*760c253cSXin Li## Updates
14*760c253cSXin LiWhen a new profile (kernel or Chrome) is successfully uploaded to the
15*760c253cSXin Liproduction GS bucket, a bot submits to modify the corresponding JSON
16*760c253cSXin Lifile to reflect the updates.
17*760c253cSXin Li
18*760c253cSXin Li## Roll to ChromeOS
19*760c253cSXin LiThere will be scheduler jobs listening to the changes made to these
20*760c253cSXin LiJSON files. When changes detected, buildbot will roll these changes into
21*760c253cSXin Licorresponding ChromeOS packages.
22