cli: Rename "config" to "swprofile"
To date, the term "config" has been used to refer to the SW
configuration of the SUT. This includes the kernel that's installed, the
kernel command line, sysctls, etc. But "config" is a very overloaded
term, and people were getting confused between the fastpath config and
the kernel (K) config.
So let's rename this key object to "swprofile". A SW profile is a lot
more self-descriptive and distinct from the myriad of other configs we
commonly talk about.
This is mostly just renaming within the code, but there are 3 places
were backwards compatibility is severely broken:
- The CLI used to accept --config all over the place. It now expects
--swprofile. So saved command invocations need to be updated.
- The plan.yaml schema used to have a "configs" list. The list is now
called "swprofiles". So existing plans need to be updated.
- The resultstore schema used to have a CONFIG table. This is now
renamed to SWPROFILE. Additionally the RESULT and ERROR tables used
to have a column called config_id. That's renamed to swprofile_id.
Existing resultstores (in all formats; CSV, MySQL, SQLite) will need
to be modified by hand to work with the modified tooling.
Signed-off-by:
Ryan Roberts <ryan.roberts@arm.com>
Loading
Please register or sign in to comment