devlib
devlib copied to clipboard
Library for interaction with and instrumentation of remote devices.
I am hitting a rather odd issue where at the end of my scripts I am seeing a flood of the following messages: ``` Exception ignored in: Traceback (most recent...
Considering https://github.com/ARM-software/devlib/issues/682, this PR updates devlib to use `greenlets` in cases where `nest_asyncio` cannot be used (e.g. using `uvloop` event loop). This alternative path works by using `greenlet` to provide...
It's been well over a year since the last release. Should probably consider making one, to make new functionality (e.g. `PerfettoCollector`) available via PyPI.
The author of nest_asyncio has passed away and the project is now abandoned: https://github.com/erdewit/nest_asyncio Unfortunately, nest_asyncio in its current state does not support alternative event loops like uvloop, used by...
`PR#667: https://github.com/ARM-software/devlib/pull/667` - Implement separate initialize / tear down methods and make various cleanups in test/test_target.py - Make docstrings Sphinx compatible - Make ``TargetRunner`` and its subclasses private - Cleanup...
**Note: Only https://github.com/ARM-software/devlib/commit/4d4d91d needs to be reviewed.** `PR#668: https://github.com/ARM-software/devlib/pull/668` - Fix mixed tab-space white-spacing issues - `s/CMDLINE_VERSION/ANDROID_CMDLINE_VERSION/` to be more precise - `s/set_host_arch/get_android_sdk_host_arch/` because the global variable for Android host...
Following the discussion at https://github.com/ARM-software/devlib/pull/677#discussion_r1559807694: > Maybe it would make sense to default to cleaning up, and have WA override that default then ? In general, keeping resources deployed on...
On some platforms (e.g. Android with `su` coming from Magisk) there seems to be an issue where BackgroundCommand.send_signal() does not propagate through the outer `sh` layers to the inner process....
The current implementation of the FtraceCollector only supports using ftrace in its start-stop mode which keeps the traces in memory and then writes to file at the end. Trace-cmd also...
FEATURE Add module to collect irq configuration, stats, and affinities from target. Enables setting of affinity.