aboutsummaryrefslogtreecommitdiff
path: root/wa/framework
AgeCommit message (Collapse)Author
2019-02-08fw/workload: Add "support_versions" attribute to workloadsMarc Bonnici
Allow for specifying a list of supported APK versions for a workload. If a specific version is no specified then attempt to a resolve any valid version for the workload.
2019-02-08fw/resource: Support matching APKs on multiple versions.Marc Bonnici
In the case where a range of apk versions are valid allow for the matching process to accommodate a list of versions instead of a single value.
2019-02-08fw/workload: Use apk version for workload if not set.Marc Bonnici
If a workloads `version` attribute is not set, and an APK file is found, use this as the version number. This allows for workloads to not specify a default version via parameters and for an available APK to be automatically chosen.
2019-02-05fw/output: add label property to MetricSergei Trofimov
Add a "label" property to Metric that combines its name with its classifiers into a single string.
2019-01-31fw/target/info: Fix for KernelConfig refactorMarc Bonnici
The Devlib KernelConfig object was refactored in commit https://github.com/ARM-software/devlib/commit/f65130b7c7ecccfe2006e40d2735eeb86639772b therefore update the way KernelConfig objects are deserialized to reflect the new implementation and provide a conversion for PODs.
2019-01-30fw/workload: Fix TypoMarc Bonnici
2019-01-11fw/workload: Add a 'View' parameter to ApkWorkloadsMarc Bonnici
Allow for easy configuring of a view for a particular workload as this can vary depending on the device which can be used when using certain instruments for example `fps`.
2019-01-11fw/version: Add development tag to versionMarc Bonnici
Add a development tag to the version format instead of using the revision field.
2019-01-10fw/version: Version bump for minor fixesMarc Bonnici
2019-01-10fw/output: better classifiers format for metricsSergei Trofimov
Use a dict-like string representation for classifiers, rather than the default OrderedDict one, which is a lot more verbose and difficult to read.
2019-01-04wa/version: Update to development versionMarc Bonnici
Update WA and devlib versions to development tags.
2018-12-21fw/version: Verion Bump to v3.1.0Marc Bonnici
2018-12-14fw/rt_config: Update tunables parameter to match other formatsMarc Bonnici
Update RT param `governor_tunables` to `gov_tunables` to match the style of the other paramters e.g. `big_gov_tunables`.
2018-12-14fw/rt_param_manager: Add support for aliased parametersMarc Bonnici
Additionally check for aliases when matching runtime parameters to their corresponding cfg points.
2018-12-07fw/output: Convert `Status` enums to/from POD during (de)serializationMarc Bonnici
Previously the `Status` Enum was converted to a string as part of serialization however now use the Enum `to_pod` method and make the respective changes for de-serialization.
2018-12-07fw/execution: Fix status being assigned as stringsMarc Bonnici
2018-12-07fw/output: Add check for schema versionsMarc Bonnici
2018-12-07fw/output: Implement the Output API for using a database backendMarc Bonnici
Allow for the creating of a RunDatabaseOutput to allow for utilizing WA output API from run data stored in a postgres database.
2018-12-07framework/output: Split out common Output functionalityMarc Bonnici
In preparation for the creation of a DatabaseRunOut split out functionality that can be shared.
2018-12-07fw/config/execution: Implement CombinedConfig as PodableMarc Bonnici
Ensure that the various Configuration structures now have serialization versions.
2018-12-07fw/output: Implement Output structures as PodableMarc Bonnici
Ensure that the various Output structures now have serialization versions.
2018-12-07fw/run: Implement Run Structures as PodableMarc Bonnici
Ensure that Run structures now have serialization versions. Also fix serialization/de-serialization of `Status` type as previously this was formatted as a String instead a pod.
2018-12-07fw/config/core: Implement Configuration structures as PodableMarc Bonnici
Ensure that the various Configuration structures now have serialization versions.
2018-12-07fw/target/info: Implement TargetInfo structures as PodableMarc Bonnici
Ensure that the various data structures used to store target information now have a serialization versions.
2018-12-04fw/output: Ensure that `Event` message is converted to a stringMarc Bonnici
Explicitly convert the passed message into a string as this is expected when generating a event summary, otherwise splitting can fail.
2018-11-21target/descriptor: Update default sudo command formatMarc Bonnici
Due to changes introduced in devlib https://github.com/ARM-software/devlib/pull/339 the command placeholder should no longer be in quote so remove them from the default value.
2018-11-15fw/workload: Add attribute to control if package data should be cleared.Marc Bonnici
Allow specifying that the package data should not be cleared before starting the workload.
2018-11-02fw/target: record page size as part of TargetInfoSergei Trofimov
Record target.page_size_kb as part of target info.
2018-11-02fw/target: add versioning to TargetInfoSergei Trofimov
Add format_version class attribute to TargetInfo to track format changes. This is checked when deserializing from POD to catch format changes between cached and obtained TargetInfo's.
2018-10-24fw/uiauto: Add method to baseclass to dismiss android version popupMarc Bonnici
In Android Q a popup will be displayed warning if the application has not been designed for the latest version of android. This has currently been dealt with on a per workload basis however this is a common popup so add a method to dismiss the popup if present to the base class.
2018-09-24configuration: Add support for section groupsMarc Bonnici
Now allows for specifying a `group` value for each section which will cross product the sections within that group with the sections in each other group. Additionally classifiers will automatically be added to each job spec with the relevant group information.
2018-09-21fw/version: Add developement tag to version numberMarc Bonnici
2018-09-21target/descriptor: Do not convert the module list to stringsMarc Bonnici
Change the type of the `modules` to `list` so that additional configuration can be supplied to individual modules as a dict of values.
2018-09-21fw/target/manager: Do no finalize target if not instantiatedMarc Bonnici
In the case of an error occurring during target initialization do not try and check for disconnecting upon finalizing.
2018-09-05fw/instrument: Fix compatibility with Python2Marc Bonnici
The Python2 inspect module does not contain the `getfullargspec` method so call the appropriate method depending on Python version.
2018-09-05Expose context in OP initialize and finalizeWaleed El-Geresy
Expose the context to the initialize and finalize functions for Output Processors. This was found to be necessary for the upcoming PostgreSQL Output Processor.
2018-08-22framework/version: Specify default encoding when parsing commit idMarc Bonnici
2018-07-27utils/version: Fix check to only decode bytesMarc Bonnici
When using Python3 the returned value of the commit is a byte string and therefore needs to be decoded.
2018-07-24fw/execution: Ensure that identifiers are used when retrieving plugins.Marc Bonnici
Make sure that when retrieving plugin information from the plugin cache the name is converted to an identifier first.
2018-07-23fw/config: preserve included config filesSergei Trofimov
Save included config files, along with the explicitly-specified config that included them, under run output's __meta/raw_config/.
2018-07-23fw/config: add includesSergei Trofimov
Add the ability to include other YAML files inside agendas and config files using "include#:" entries.
2018-07-19fw/parsers: Ensure plug-in names are converted to an identifierMarc Bonnici
Ensure that a plug-ins config entry is converted to an identifier before being stored in the PluginCache so that the relevant configuration can be retrieved appropriately. For example this allows for both 'trace-cmd' and 'trace_cmd' to be used as config entries to provide configuration for the 'trace-cmd' plugin.
2018-07-13fw: cache target infoSergei Trofimov
Cache target info after pulling it from the device. Attempt to retrieve from cache before querying target.
2018-07-13fw: add cache subdir under $WA_USER_DIRECTORYSergei Trofimov
Add a sub-directory for caching stuff.
2018-07-13fw/target: add system_id to TargetInfoSergei Trofimov
Add target's system_id to TargetInfo. This ID is intended to be unique of the combination of hardware and software on the target.
2018-07-11fw/execution: write config after installing augsSergei Trofimov
Add Context.write_config() to write the combined config into run output __meta. Use it after instruments and result processors get installed to make sure their configuration gets serialized in the output.
2018-07-11fw/config: add get_config() to ConfigManagerSergei Trofimov
Add a method to allow obtaining the combined config after config manager has been finalized.
2018-07-11fw/config: add resource getter to run configSergei Trofimov
Track resource getter configuration as part of the run config.
2018-07-11fw/config: add installed aug configs to run configSergei Trofimov
Track configuration used for installed augmentations inside RunConfig.
2018-07-11fw/execution: rename things for claritySergei Trofimov
- Rename "instrument_name" to "instrument" inside do_execute(), as ConfigManger.get_instrument() returns a list of Instrument objects, not names. - To avoid name clash, rename the imported instrument module to "instrumentation".