lisa merge requestshttps://gitlab.arm.com/tooling/lisa/-/merge_requests2024-03-28T20:20:00Zhttps://gitlab.arm.com/tooling/lisa/-/merge_requests/2264Draft: tools/trace-parser: Improve trace-dump CLI2024-03-28T20:20:00ZDouglas RaillardDraft: tools/trace-parser: Improve trace-dump CLIMake --trace an option of each subcommand rather than an option that
comes before the subcommand.Make --trace an option of each subcommand rather than an option that
comes before the subcommand.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2261.github/workflows/test.yml: Test on Python 3.122024-03-27T17:50:24ZDouglas Raillard.github/workflows/test.yml: Test on Python 3.12Test on 3.8 (minimum supported version) and 3.12Test on 3.8 (minimum supported version) and 3.12https://gitlab.arm.com/tooling/lisa/-/merge_requests/2256Draft: Trace temperatures from LISA kmodule2024-03-26T15:05:46ZChristopher SwinchattDraft: Trace temperatures from LISA kmoduleDraft: depends on !2243
- Temperatures of up to 100 (arbitrary limit) thermal zones are traced to ftrace by polling. ...Draft: depends on !2243
- Temperatures of up to 100 (arbitrary limit) thermal zones are traced to ftrace by polling.
- Configuration is via VFS.
- The poll interval can be set to a value between 1 and 5000 ms and defaults to 100 ms.
- Thermal zones are set using a comma-separated list of names (contents of the file /sys/class/thermal/thermal_zoneX/type)
Signed-off-by: Chris Swinchatt <christopher.swinchatt@arm.com>https://gitlab.arm.com/tooling/lisa/-/merge_requests/2248Draft: WIP Rust analysis2024-02-19T12:22:14ZDouglas RaillardDraft: WIP Rust analysisAdd a new RustAnalysis class that will host Rust-related trace helpers.Add a new RustAnalysis class that will host Rust-related trace helpers.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2246Draft: lisa.trace: Add PerfettoTraceParser2024-03-27T11:55:36ZDouglas RaillardDraft: lisa.trace: Add PerfettoTraceParserFEATURE
Allow loading Perfetto traces.FEATURE
Allow loading Perfetto traces.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2245Draft: [Experimental] Interrupt handler trace analysis support2024-03-28T15:52:44ZMorten RasmussenDraft: [Experimental] Interrupt handler trace analysis supportFEATURE
Interrupt handler trace analysis based on ftrace events
'irq_handler_entry' and 'irq_handler_exit'. Provide functions
to extract interrupt handler, activity, and plot activity.
The analysis is implemented using polars.FEATURE
Interrupt handler trace analysis based on ftrace events
'irq_handler_entry' and 'irq_handler_exit'. Provide functions
to extract interrupt handler, activity, and plot activity.
The analysis is implemented using polars.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2243Draft: Add VFS support for kmod2024-03-19T14:25:18ZPierre GondoisDraft: Add VFS support for kmodAdd a VFS to interact with the lisa kmod and configure it dynamically.Add a VFS to interact with the lisa kmod and configure it dynamically.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2148lisa.wlgen.fio: Introduce Fio as Workload2024-01-31T15:44:57ZDarryl Greenlisa.wlgen.fio: Introduce Fio as Workload*Created by: cloehle*
Fio is a highly-configurable I/O tester used by the block layer for testing and as a general benchmark tool for storage. Even for scheduler investigations Fio is interesting as in_iowait-setting tasks are treated d...*Created by: cloehle*
Fio is a highly-configurable I/O tester used by the block layer for testing and as a general benchmark tool for storage. Even for scheduler investigations Fio is interesting as in_iowait-setting tasks are treated differently. To be able to create tests for them we introduce a simplistic lisa frontend.
Fio Workloads can now be created like:
ftest = Fio(target, filename="/dev/nvme0n1", name="test", rw="randread", runtime=50, bs='4k') and then ran like any other:
with ftest:
result = fiotestmmc.run()
print(result.read_iops)https://gitlab.arm.com/tooling/lisa/-/merge_requests/2129Rework PELT and uclamp events2024-01-31T15:44:07ZDouglas RaillardRework PELT and uclamp eventshttps://gitlab.arm.com/tooling/lisa/-/merge_requests/2063tools/recipes/trace-cmd.recipe: Update dependencies2024-01-31T15:44:06ZDouglas Raillardtools/recipes/trace-cmd.recipe: Update dependenciesDO NOT MERGE:
Build currently broken: https://bugzilla.kernel.org/show_bug.cgi?id=217768DO NOT MERGE:
Build currently broken: https://bugzilla.kernel.org/show_bug.cgi?id=217768https://gitlab.arm.com/tooling/lisa/-/merge_requests/2034[WIP] lisa._assets.kmodules.lisa: Add config macro system2024-01-31T15:44:05ZDouglas Raillard[WIP] lisa._assets.kmodules.lisa: Add config macro systemDO NOT MERGE
DO NOT MERGE
https://gitlab.arm.com/tooling/lisa/-/merge_requests/2025[RFC] lisa.target: Add hooks2024-01-31T15:44:06ZDouglas Raillard[RFC] lisa.target: Add hooksFEATURE
Add lisa.target.Target(hooks={'post-connect': ['echo hello', 'echo world']}, ...) parameter. This allows running custom commands on the target after connection, which can be useful to do custom setup on some devices such as di...FEATURE
Add lisa.target.Target(hooks={'post-connect': ['echo hello', 'echo world']}, ...) parameter. This allows running custom commands on the target after connection, which can be useful to do custom setup on some devices such as disabling SE Linux.https://gitlab.arm.com/tooling/lisa/-/merge_requests/2022NEVER MERGE2024-02-09T18:37:51ZDouglas RaillardNEVER MERGENEVER MERGE THIS PR
This pull request contains the changes applied on top of the `main` branch to add warnings and redirections.NEVER MERGE THIS PR
This pull request contains the changes applied on top of the `main` branch to add warnings and redirections.https://gitlab.arm.com/tooling/lisa/-/merge_requests/1986[WIP] Add lisa-load-kmod --feature-param2024-01-31T15:44:05ZDouglas Raillard[WIP] Add lisa-load-kmod --feature-paramWIP DO NOT MERGE
This is to be considered a technological preview until questions around managing multiple feature instances and different option sets are resolved.WIP DO NOT MERGE
This is to be considered a technological preview until questions around managing multiple feature instances and different option sets are resolved.https://gitlab.arm.com/tooling/lisa/-/merge_requests/1950lisa._assets.kmodules: Support hot-reloading in kernel module2024-01-31T15:43:46ZDouglas Raillardlisa._assets.kmodules: Support hot-reloading in kernel moduleFEATURE
Add a lisa/reload debugfs file that can hot-reload the module when "all\n" is written to it.FEATURE
Add a lisa/reload debugfs file that can hot-reload the module when "all\n" is written to it.https://gitlab.arm.com/tooling/lisa/-/merge_requests/1946Support for PMU event counters2024-01-31T15:43:46ZDarryl GreenSupport for PMU event counters*Created by: bea-arm*
Add support for reading Arm PMU event counters through perf framework and expose the readings as a dedicated ftrace event.
This is being achieved by introducing new feature to the sched_tp kernel module for ...*Created by: bea-arm*
Add support for reading Arm PMU event counters through perf framework and expose the readings as a dedicated ftrace event.
This is being achieved by introducing new feature to the sched_tp kernel module for tracing the PMU event counters, plus changes to the lisa/tests/base.py, that handle the post-processing for CPU_CYCLES counter events, which allows drawing conclusions on the estimated CPU frequency.
Additionally both util_tracking and load_tracking tests get amended to benefit from the above mentioned changes.
https://gitlab.arm.com/tooling/lisa/-/merge_requests/1922CVE-2007-4559 Patch2024-01-31T15:42:51ZDarryl GreenCVE-2007-4559 Patch*Created by: TrellixVulnTeam*
# Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at [Trellix](https://www.trellix.com). We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE...*Created by: TrellixVulnTeam*
# Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at [Trellix](https://www.trellix.com). We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this [blog](https://www.trellix.com/en-us/about/newsroom/stories/research/tarfile-exploiting-the-world.html).
If you have further questions you may contact us through this projects lead researcher [Kasimir Schulz](mailto:kasimir.schulz@trellix.com).
https://gitlab.arm.com/tooling/lisa/-/merge_requests/1913lisa._assets.kmodules.sched_tp: Add sched_pelt_thermal trace event2024-01-31T15:42:51ZDarryl Greenlisa._assets.kmodules.sched_tp: Add sched_pelt_thermal trace event*Created by: deggeman*
The corresponding trace point is already supported in Linux kernel mainline:
Commit 77cf151b7bbdf ("sched/core: Export pelt_thermal_tp") Commit 765047932f153 ("sched/pelt: Add support to track thermal pressure"...*Created by: deggeman*
The corresponding trace point is already supported in Linux kernel mainline:
Commit 77cf151b7bbdf ("sched/core: Export pelt_thermal_tp") Commit 765047932f153 ("sched/pelt: Add support to track thermal pressure")
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>https://gitlab.arm.com/tooling/lisa/-/merge_requests/1910Trace analysis cpu utils2024-01-31T15:42:51ZDarryl GreenTrace analysis cpu utils*Created by: derkling*
Here is a example of the outputs produced by the new APIs added by this PR:
https://pasteboard.co/yYBeNlQDq8E6.png*Created by: derkling*
Here is a example of the outputs produced by the new APIs added by this PR:
https://pasteboard.co/yYBeNlQDq8E6.pnghttps://gitlab.arm.com/tooling/lisa/-/merge_requests/1870lisa._assets.kmodules.sched_tp: Add EM sysfs tree for latest phones2024-01-31T15:42:51ZDarryl Greenlisa._assets.kmodules.sched_tp: Add EM sysfs tree for latest phones*Created by: lukaszluba-arm*
Latest Android removed debugfs dir and config. There is a need to expose
Energy Model in some other way. Use the kobject and sysfs infrastructure
to do that.
Signed-off-by: Lukasz Luba <lukasz.luba@arm....*Created by: lukaszluba-arm*
Latest Android removed debugfs dir and config. There is a need to expose
Energy Model in some other way. Use the kobject and sysfs infrastructure
to do that.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>