- Jun 27, 2024
-
-
Metin Kaya authored
FIX devlib will have necessary support [1] for installing Android tools to meet LISA requirements. Thus, remove duplicated functionality from install_base.sh script. [1] https://github.com/ARM-software/devlib/pull/686 Signed-off-by:
Metin Kaya <metin.kaya@arm.com>
-
Metin Kaya authored
FIX In addition to shellcheck fixes, also: - perform some trivial style/formatting cleanup - drop support for legacy "install-android-sdk" command line argument - sort system packages lists - drop superfluous ';' - Handle potential failure of `systemd-detect-virt` command Signed-off-by:
Metin Kaya <metin.kaya@arm.com>
-
Metin Kaya authored
FIX Signed-off-by:
Metin Kaya <metin.kaya@arm.com>
-
Metin Kaya authored
FIX Update .gitignore to prevent tracking devmode_extra_requirements.txt file. Signed-off-by:
Metin Kaya <metin.kaya@arm.com>
-
Douglas Raillard authored
remote: https://github.com/douglas-raillard-arm/devlib.git
-
Douglas Raillard authored
ab193ed41 utils/asyn: Ensure the async generators inside context managers are fully consumed on a single event loop b2c7bb9b0 utils/asyn: Replace nest_asyncio with greenlet 5ff1d543a Revert "utils/asyn: Replace nest_asyncio with greenback" 4cf7d1856 utils/asyn: Replace nest_asyncio with greenback 03521493d utils/asyn: Factor out the calls to asyncio.run 5aa850ec9 target: Allow reuse of a connection once the owning thread is terminated a9a2d75c4 tests: Add tests for nested async support de84a08bf tools/docker: Fixup test config file name b7d7b4662 tools/setup_host.sh: Rename install_base.sh to setup_host.sh b48548485 tools/android: Make install_base.sh modular for LISA integration d8a09e895 tools/android: Remove emulator skins 1c52f13e5 tools/android: Clone install_android_platform_tools() from LISA 14905fb51 tools/android: Make cleanups in install_base.sh REVERT: a237603ad utils/asyn: Ensure the async generators inside context managers are fully consumed on a single event loop REVERT: 2e787f5d7 utils/asyn: Replace nest_asyncio with greenlet REVERT: ea42b630a Revert "utils/asyn: Replace nest_asyncio with greenback" REVERT: 574f473b3 utils/asyn: Replace nest_asyncio with greenback REVERT: f10acd90e utils/asyn: Factor out the calls to asyncio.run REVERT: 933a2f401 target: Allow reuse of a connection once the owning thread is terminated REVERT: 7eecb0332 tests: Add tests for nested async support git-subtree-dir: external/devlib git-subtree-split: ab193ed41d33a07adb66d001bd51353e7b36bd5e
-
- Jun 25, 2024
-
-
Douglas Raillard authored
FIX Ensure Trace._parseable_events is initialized early enough.
-
Douglas Raillard authored
FIX That delete parameter is only available from Python 3.12.
-
- Jun 24, 2024
-
-
Douglas Raillard authored
FEATURE Ensure we still get a swap dir, to store e.g. analysis results even when using a trace parser that is not relying on local files.
-
Douglas Raillard authored
FIX Avoid triggering an exception in TemporaryDirectory.__del__ by manually handling temporaries cleanup.
-
Douglas Raillard authored
FEATURE Provide a default noop populate function.
-
- Jun 21, 2024
-
-
Douglas Raillard authored
a237603ad utils/asyn: Ensure the async generators inside context managers are fully consumed on a single event loop 2e787f5d7 utils/asyn: Replace nest_asyncio with greenlet ea42b630a Revert "utils/asyn: Replace nest_asyncio with greenback" 574f473b3 utils/asyn: Replace nest_asyncio with greenback f10acd90e utils/asyn: Factor out the calls to asyncio.run 933a2f401 target: Allow reuse of a connection once the owning thread is terminated 7eecb0332 tests: Add tests for nested async support d3ca49f24 utils/misc: Fix AttributeError in tls_property REVERT: c30eb537b utils/asyn: Ensure the async generators inside context managers are fully consumed on a single event loop REVERT: 277e0fcfb utils/asyn: Replace nest_asyncio with greenlet REVERT: 103748b9c Revert "utils/asyn: Replace nest_asyncio with greenback" REVERT: bf16f34bd utils/asyn: Replace nest_asyncio with greenback REVERT: 83f25393e utils/asyn: Factor out the calls to asyncio.run REVERT: 00a8e9b05 target: Allow reuse of a connection once the owning thread is terminated REVERT: c86853d3c tests: Add tests for nested async support git-subtree-dir: external/devlib git-subtree-split: a237603adf08666dadbc60d1800983653fb6ab7a
-
Douglas Raillard authored
remote: https://github.com/douglas-raillard-arm/devlib.git
-
Douglas Raillard authored
FIX A module can end up being imported several times if it results in an ImportError, as each client will import it again. Even if the module overall fails to import, it can still execute successfully @deprecate calls, which will end up being repeated on the same function multiple times. Remove the check that prevents calling the decorator several times for the same item name.
-
Douglas Raillard authored
FIX Series.apply() on a categorical dtype leads to pandas executing the applied function on values that appear in the category but not necessarily in the actual data. This can raise unexpectedly, e.g. on trace slices where the a comm only appears outside the slice.
-
Douglas Raillard authored
FIX Ensure we have the expected types for Trace.window.
-
Douglas Raillard authored
FIX Handle KeyError rather than IndexError.
-
Douglas Raillard authored
FIX Only infer the index for polars types, as a pandas type already has a known index.
-
Douglas Raillard authored
FIX
-
- Jun 20, 2024
-
-
Douglas Raillard authored
FIX * Replace broken parse_char_in() and parse_char_not_in() by CHAR_IN() and CHAR_NOT_IN() optimized macros. * Add u64 parser. * Replace count_whitespaces with consume_whitespaces as this is the typical use case. * Fix parse_buffer2charp() to guarantee it is always null-terminated. * Add parse_buffer_strdup() that allows allocating a string with the content of a parse_buffer. * Add DISCARD() combinator that discards the output and returns a void_t value instead. * Add STRDUP() combinator to kmalloc a string parsed by a parser returning a parse_buffer. * Kernel doc comment fixes.
-
- 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
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
remote: https://github.com/douglas-raillard-arm/devlib.git
-
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
-