Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And so it begins ... Merge-in the "next" branch, that contains the new version of LISA. The old master can be found under the "legacy" branch that has been only taking minor tweaks for quite a while now, while hot new stuff were merged into next. A transition guide listing major API changes and how to port code from LISA legacy is available here: https://lisa-linux-integrated-system-analysis.readthedocs.io/en/master/transition_guide.html note: this is not a merge commit proper, in order to speed up git subtree split. The commit of "next" branch merged is: c543fb7 Merge pull request #871 from douglas-raillard-arm/_pr133
- Loading branch information
1 parent
c7552c2
commit e189103
Showing
326 changed files
with
39,203 additions
and
19,676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
*~ | ||
.* | ||
*.pyc | ||
__pycache__ | ||
*.egg-info | ||
/results* | ||
*.json | ||
*.log | ||
/tools/android-sdk-linux | ||
/ipynb/*.pid | ||
/ipynb/server.url | ||
*.pid | ||
server.url | ||
/vagrant | ||
/tools/wa_venv | ||
/tools/wa_user_directory/dependencies | ||
/src/buildroot | ||
_build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Contributing to LISA | ||
|
||
First of all, if you're reading this, thanks for thinking about contributing! | ||
This project is maintained by us Arm folks, but we welcome contributions from | ||
anyone. | ||
|
||
## How to reach us | ||
|
||
If you're hitting an error/bug and need help, it's best to raise an issue on github. | ||
|
||
## Coding style | ||
|
||
As a rule of thumb, the code you write should follow the | ||
[PEP-8](https://www.python.org/dev/peps/pep-0008/). | ||
|
||
We strongly recommend using a code checker such as [pylint](https://www.pylint.org/), | ||
as it tracks unused imports/variables, informs you when you can simplify a | ||
statement using Python features, and overall just helps you write better code. | ||
|
||
## Documentation | ||
|
||
Docstring documentation should follow the ReST/Sphinx style. | ||
Classes, class attributes and public methods must be documented. If deemed | ||
necessary, private methods can be documented as well. | ||
|
||
All in all, it should look like this: | ||
|
||
```python | ||
def foo(a, b): | ||
""" | ||
A one liner description | ||
:param a: A description for param a | ||
:type a: int | ||
:param b: A description for param b | ||
:type b: str | ||
Whatever extra description you might over as many lines as you need | ||
(but be reasonable) | ||
""" | ||
pass | ||
``` | ||
|
||
## Tests | ||
|
||
You should strive to validate as much of your code as possible through self-tests. | ||
It’s a nice way to showcase that your code works, and also how it works. On top | ||
of that, it makes sure that later changes won’t break it. | ||
|
||
Have a look at [the doc](https://lisa-linux-integrated-system-analysis.readthedocs.io/en/next/lisa_tests.html) for more info on LISA self-tests. | ||
|
||
## Commits | ||
|
||
As for the shape of the commit, nothing out of the ordinary: just follow the | ||
good old 50/72 rule (it's okay if you bite off a few extra chars). | ||
|
||
The header should highlight the impacted files/classes. The 'lisa' prefix can be omitted - for instance, | ||
if you're modifying the `lisa/wlgen/rta.py` file, we'd expect a header of the shape `wlgen/rta: ...`. | ||
|
||
When that path gets a bit verbose, it's alright to shorten it as long as there | ||
is no confusion as to what you're referencing. In that case, if modifying the | ||
`lisa/tests/kernel/scheduler/load_tracking.py` file, we'd expect a header of | ||
the shape `tests: load_tracking: ...`. | ||
|
||
When in doubt, have a look at the git log. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Must be ordered to satisfy the dependencies without pulling from PyPI. | ||
# Once they are found by pip in editable mode as specified here, they will be | ||
# used and not looked up on PyPI. | ||
-e ./tools/exekall | ||
|
||
# devlib before WA and LISA | ||
-e ./external/devlib/ | ||
|
||
# TRAPpy before BART and LISA | ||
-e ./external/trappy/ | ||
# BART before LISA | ||
-e ./external/bart/ | ||
|
||
# WA before LISA | ||
-e ./external/workload-automation/ | ||
-e ./[notebook,doc,test] | ||
|
||
-e ./tools/bisector[dbus] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.