devlib
devlib copied to clipboard
Library for interaction with and instrumentation of remote devices.
When running on Hikey960, some of our tests get stuck mid-execution, with no apparent reasons. We can still "adb shell" into the device but we cannot for example reboot the...
Not sure how useful this will actually be hence RFC marker and not too much care or documentation. This basically jimmies `/proc/schedstat` into the `Instrument` API. What do you think?...
I have a few issues with the screenrecord utility, so I'm posting this here to collect a bit of feedback. The main problem is that the max video duration is...
With this its possible for users to dump the initial cgroup state into the traces with something like the following: cgroup = te.target.cgroups.controllers['cpuset'].cgroup('/foreground') cgroup.trace_cgroup_tasks() Signed-off-by: Joel Fernandes
Can we instruct the target to turn off USB charging from the energy meter as a hint? Currently this has to be done manually either from target.execute or from adb....
Hi, I saw Lisa set ondemand governor's sampling_rate in the folder: /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate; but when I run Linux kernel 4.4 the folder has been changed as: /sys/devices/system/cpu/cpufreq/policy0/ondemand/sampling_rate and /sys/devices/system/cpu/cpufreq/policy1/ondemand/sampling_rate. So finally...
I have started a background task as follows: ``` self._process = self._target.background(f"poller -l {','.join([str(x) for x in self._files.keys()])} {' '.join(self._files.values())}", as_root=self._as_root) ``` When I then try to run: ``` self._process.cancel()...
Some platforms (like FPGA) can be really slow (e.g. 200x slower than a normal device). This can make some timeouts unsuitable. We should ensure that the core code allows setting...
Fixes https://github.com/ARM-software/devlib/issues/645 Supersedes https://github.com/ARM-software/devlib/pull/643 TODO: * [ ] Add/update docstrings * [x] Figure out if moving some init logic for the various subclasses of BackgroundCommand inside the class would simplify...
Fix sudo
Fixes https://github.com/ARM-software/devlib/issues/703 @marcbonnici Can you remember why we used a one-space prompt with `sudo -p ' '` instead of a completely empty prompt ? This prompt seems to be picked...