- Jun 18, 2024
-
-
Douglas Raillard authored
Add the format of the trace to trace-id if it is available.
-
Douglas Raillard authored
FIX
-
Douglas Raillard authored
-
Douglas Raillard authored
Move some tests up the hierarchy so they are executed on both a normal Trace and the output of Trace.get_view() as well.
-
Douglas Raillard authored
FEATURE lisa.trace.Trace objects have to manage some cache-related resources, which can require orderly cleanup in some situations (e.g. if the caller intends on removing the trace.dat folder after it is done with the Trace). Relying on __del__ for that does not work as cyclic references to the Trace instance make __del__ execute at an unknown point in the future. Fix that by providing a context manager API to Trace, which can be used in this sort of situation. The cleanup code will still attempt to run on __del__ if it has not run yet for backward compatibility and simpler situations.
-
Douglas Raillard authored
-
Douglas Raillard authored
remote: https://github.com/douglas-raillard-arm/devlib.git
-
Douglas Raillard authored
c30eb537b utils/asyn: Ensure the async generators inside context managers are fully consumed on a single event loop 277e0fcfb utils/asyn: Replace nest_asyncio with greenlet 103748b9c Revert "utils/asyn: Replace nest_asyncio with greenback" bf16f34bd utils/asyn: Replace nest_asyncio with greenback 83f25393e utils/asyn: Factor out the calls to asyncio.run 00a8e9b05 target: Allow reuse of a connection once the owning thread is terminated c86853d3c tests: Add tests for nested async support git-subtree-dir: external/devlib git-subtree-split: c30eb537b197cf2ad5acaf44e6b9a6b120690a45
-
Douglas Raillard authored
Dogfooding on our own PR
-
Douglas Raillard authored
remote: https://github.com/ARM-Software/workload-automation.git
-
Douglas Raillard authored
6fc5340f2 --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... da667b58a build(deps): bump idna from 3.4 to 3.7 4e9d402c2 workloads/speedometer: Dismiss notification pop-up git-subtree-dir: external/workload-automation git-subtree-split: 6fc5340f2fff8cb5e85a029a3a57aea9a7e06b46
-
Douglas Raillard authored
3e45a2298 collector/dmesg: Handle non-matching regex 3c37bf3de target: Make Target.make_temp() async-compatible 52281051b target: Run Target.disconnect() upon process termination 7714acc89 target: Make Target.disconnect() steal current connections f5f06122f target: Provide context manager API for Target c9b539f72 Validate cgroups_run_into has taken effect a28c6d7ce utils/android: Use subprocess.DEVNULL where appropriate b8292b1f2 utils/android: Log error in _ping() 94f1812ab Create LICENSE 71d1663b2 tools/android: Address review comments on PR#668 492d42ddd target: tests: Address review comments on PR#667 git-subtree-dir: external/devlib git-subtree-split: 3e45a2298e2ba7da25e27ebe7651aa48f2fd62b5
-
Douglas Raillard authored
remote: https://github.com/ARM-Software/devlib.git
-
- Jun 17, 2024
-
-
Douglas Raillard authored
FIX np.NaN was removed in numpy 2.0 in favor of np.nan
-
Douglas Raillard authored
FIX Allow trying to write data to the swap area and suppress any exception raised.
-
Douglas Raillard authored
FEATURE Write a parquet file to swap as soon as the data took enough time to compute, regardless of the data size to write. This makes it more predictable.
-
Douglas Raillard authored
FIX If the parquet written to the cache was originally a pandas dataframe, reload the pandas-specific metadata to ensure the index column is the first one in the reloaded polars LazyFrame. This ensures the rest of LISA understands that this should be used as the index.
-
Douglas Raillard authored
BREAKING CHANGE Ensure we only have string column names, as this is the only type that can: * survive serialization to parquet * be converted between different dataframe libraries
-
Douglas Raillard authored
FIX Ensure the index has a name and conversion to polars are handled properly.
-
Douglas Raillard authored
FIX
-
- Jun 14, 2024
-
-
Douglas Raillard authored
-
Douglas Raillard authored
-
Douglas Raillard authored
-
Douglas Raillard authored
-
- Jun 10, 2024
-
-
Douglas Raillard authored
FIX install_base.sh already calls sudo itself, there is no need to wrap it with sudo.
-
- Jun 05, 2024
-
-
Douglas Raillard authored
-
- May 31, 2024
-
-
Douglas Raillard authored
Remove redundant code to create Trace instances.
-
- May 23, 2024
-
-
-
Douglas Raillard authored
Workaround the lack of ability for polars to choose its implementation on its own by installing the base package, and installing on top another package: https://github.com/pola-rs/polars/issues/12880
-
Douglas Raillard authored
FIX * Do not check /sys/kernel/tracing/tracing_on, instead handle errors upon trace_marker write. It is ok to try to emit an event if ftrace is disabled, e.g. it could be enabled/disabled in-kernel for a short snapshot. * Reduce the calibration time. The cool down calibration mode adds 1s delay between each trial. Reduce the number of trials in cool down mode from 200 to 10 to cut down calibration time.
-
Douglas Raillard authored
FIX We collect all the optional events we can, but do not turn DynamicTraceEventChecker into an AndTraceEventChecker. Otherwise, all the events it requires become mandatory, even if they turn out to never be needed by the code.
-
Douglas Raillard authored
FIX
-
Douglas Raillard authored
FIX
-
Douglas Raillard authored
FIX Provide a AnalysisBase.df_method(index=...) parameter to specify what column should be used as the index in the pandas dataframe. If NO_INDEX is passed, then no index will be used.
-
Douglas Raillard authored
FIX Add missing pandas/polars conversions so that all analysis funcions can be used with polars.
-
Douglas Raillard authored
FIX Handle compress_init=True without raising.
-
Douglas Raillard authored
-
Douglas Raillard authored
FIX Treat DynamicTraceEventChecker as optional.
-
Douglas Raillard authored
FIX BoundArguments.arguments is not suitable for being used as **kwargs, as it does not expand variable arguments. Instead BoundArguments.args and BoundArguments.kwargs should be used in that case.
-
Douglas Raillard authored
-