1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00
Go to file
Douglas Raillard d67d9bd2a4 fw/plugin: Try to load plugin paths as Python module name
WA_PLUGIN_PATHS currently contains a list of filesystem paths to scan
for plugins. This is appropriate for end-user plugins, but this is
problematic for plugins distributed by a 3rd party, such as a plugin
installed from PyPI.

In those cases, the path to the sources is unknown and typically depends
on the specify Python version, local setup etc. What is constant is
Python name of the package, e.g. "lisa.wa.plugins".

Extend the input allowed in WA_PLUGIN_PATHS by trying to load entries as
a Python package name if:
    * There is no filesystem path with that name
    * The entry is a "relative path" (from an fs point of view)
2023-08-14 19:23:56 -05:00
.github ci: fix the version of pylint to a known version 2022-08-18 17:19:43 +01:00
dev_scripts pylint: Update for newer versions of pylint 2022-08-18 17:19:43 +01:00
doc doc/changes: Update the changelog for v3.3.1 2023-04-29 17:29:43 -05:00
extras Dockerfile: Bump release version 2023-04-29 17:29:43 -05:00
scripts scripts: remove legacy WA2 scripts 2017-04-27 09:01:22 +01:00
tests Migrate to Github Actions 2020-12-16 09:51:09 +00:00
wa fw/plugin: Try to load plugin paths as Python module name 2023-08-14 19:23:56 -05:00
.gitignore gitignore: fix path to instrument_method_map.rst 2018-06-28 14:04:21 +01:00
.readthedocs.yml docs/.readthedocs: Bump the python version 2022-08-18 18:46:59 +01:00
LICENSE Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
MANIFEST.in MANIFEST: Fix including all of the wa subdirectory 2019-01-10 13:21:16 +00:00
pytest.ini tests: fix pytest warnings 2019-12-03 14:03:18 +00:00
README.rst README: Update with more specific supported python version. 2020-07-16 12:20:02 +01:00
requirements.txt build(deps): bump cryptography from 41.0.0 to 41.0.3 2023-08-09 16:45:37 -05:00
setup.py setup.py: Update pandas version restrictions 2019-08-30 14:03:03 +01:00

Workload Automation
+++++++++++++++++++

Workload Automation (WA) is a framework for executing workloads and collecting
measurements on Android and Linux devices. WA includes automation for nearly 40
workloads and supports some common instrumentation (ftrace, hwmon) along with a
number of output formats.

WA is designed primarily as a developer tool/framework to facilitate data driven
development by providing a method of collecting measurements from a device in a
repeatable way.

WA is highly extensible. Most of the concrete functionality is implemented via
plug-ins, and it is easy to write new plug-ins to support new device types,
workloads, instruments or output processing.


Requirements
============

- Python 3.5+
- Linux (should work on other Unixes, but untested)
- Latest Android SDK (ANDROID_HOME must be set) for Android devices, or
- SSH for Linux devices


Installation
============

To install::

        git clone git@github.com:ARM-software/workload-automation.git workload-automation
        sudo -H python setup [install|develop]

Note: A `requirements.txt` is included however this is designed to be used as a
reference for known working versions rather than as part of a standard
installation.

Please refer to the `installation section <http://workload-automation.readthedocs.io/en/latest/user_information.html#install>`_
in the documentation for more details.


Basic Usage
===========

Please see the `Quickstart <http://workload-automation.readthedocs.io/en/latest/user_information.html#user-guide>`_
section of the documentation.


Documentation
=============

You can view pre-built HTML documentation `here <http://workload-automation.readthedocs.io/en/latest/>`_.

Documentation in reStructuredText format may be found under ``doc/source``. To
compile it into cross-linked HTML, make sure you have `Sphinx
<http://sphinx-doc.org/install.html>`_ installed, and then ::

        cd doc
        make html


License
=======

Workload Automation is distributed under `Apache v2.0 License
<http://www.apache.org/licenses/LICENSE-2.0>`_. Workload automation includes
binaries distributed under different licenses (see LICENSE files in specific
directories).


Feedback, Contributions and Support
===================================

- Please use the GitHub Issue Tracker associated with this repository for
  feedback.
- ARM licensees may contact ARM directly via their partner managers.
- We welcome code contributions via GitHub Pull requests. Please see
  "Contributing Code" section of the documentation for details.