Make new devices work out of the box
Created by: valschneider
Having a new target device for LISA currently requires a bit of work, although the base requirements for a new device aren't that big.
It mostly all comes down to the platform file in libs/utils/platforms/<device-name>.json. The energy model can be fetched from the target, but post-processing usually requires the json file. This isn't entirely flawed logic, as it should be possible to run post-processing of traces without having access to the device itself, but maybe it should be handled differently. Here's a list of options:
- Do as much post-processing as possible without the platform file - this is what https://github.com/ARM-software/lisa/pull/342 & https://github.com/ARM-software/lisa/issues/427 are about.
- Export the platform description if it's not already there when running tests - we can get all of the information that we need from the device itself, so generating the platform description shouldn't be too hard. The tricky point is cleanly distinguishing big and LITTLE clusters.