- Apr 05, 2023
-
-
Douglas Raillard authored
FIX CapacitySanity._from_target() was reusing the passed collector multiple times, leading to only the last trace being saved. Instead, use the collector once and do all the work while collecting.
-
Douglas Raillard authored
FIX Ensure that LISA's FtraceCollector provides a reusable context manager. Currently, the LISA kernel module will only get loaded the first time the collector is used. Fix that by not resetting the object state too much.
-
FIX The 'self' in WACollectorBase refers to the WACollectorBase and not the parent WAOutput, currently causing get_collector to crash because it can't find the _jobs property. This looks like an omission from the recent wa.py changes so this commit just fixes the property being accessed.
-
Douglas Raillard authored
-
Douglas Raillard authored
-
Douglas Raillard authored
-
Douglas Raillard authored
FIX Ensure compatibilty with older versions of devlib, which includes what is currently published on PyPI.
-
Douglas Raillard authored
FEATURE
-
Douglas Raillard authored
Avoid breakage of published package at the next major pandas release, since pandas more or less follows semantic versionning.
-
Douglas Raillard authored
DataFrame.pivot(index=None) seems to have changed behavior: https://github.com/pandas-dev/pandas/issues/52436 Remove index=None so that it works across pandas versions.
-
- Apr 04, 2023
-
-
Douglas Raillard authored
BREAKING CHANGE Use the more descriptive "power" column name than "value".
-
Douglas Raillard authored
FIX
-
Douglas Raillard authored
FIX Pandas 2.0.0 has changed the behavior of iterating over groupby() when passed a list with a single item in it: it is now returning 1-tuple for the key, instead of the value directly. Patch all the sites where this is done to work with both pandas 1.5 and 2.0
-
Douglas Raillard authored
FIX Ensure we get the expected behavior now that pandas 2.0.0 is out and group_keys default has changed to True.
-
Douglas Raillard authored
Mismatching split BTF loading issue: https://lore.kernel.org/all/YfK18x%2FXrYL4Vw8o@syu-laptop/t/#md877c45455918f8c661dc324719b91a9906dc7a3 https://bugzilla.opensuse.org/show_bug.cgi?id=1194501 has been fixed in: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=5e214f2e43e4 When that config is enabled: MODULE_ALLOW_BTF_MISMATCH=y Unfortunately, that is not the default so keep LISA's current behavior.
-
Douglas Raillard authored
FIX When FtraceCollector.get_data() is called after the kernel module unload, the event format is missing and the trace is therefore broken (appears to not contain that event). Close that gap by raising an explicit error in that scenario.
-
Douglas Raillard authored
FIX FtraceCollector.get_data() yields a broken trace when some events are coming from the kernel modules, since the trace is extracted from the kernel after the module has been unloaded so the event format is unknown.
-
Douglas Raillard authored
FEATURE from_sysfs_headers() uses both /proc/config.gz and /sys/kernel/kheaders.tar.xz to patch the user-provided tree. If that results in a build failure, the fallback is from_user_tree() that just asssumes the tree is ready. If the tree is almost ready but the config is wrong, the module build using from_user_tree() might error if e.g. a config option such as CONFIG_SCHED_AUTOGROUP is enabled in the .config but not on the board, leading to trying to access to a non-existant struct member that will still be defined from BTF blob. Instead of falling back to from_user_tree() straight away, fall back first to from_proc_config() that will use /proc/config.gz, which is very likely to be successful and has much higher chances of producing a working module.
-
- Mar 16, 2023
-
-
Douglas Raillard authored
FIX Module building fails with modpost error due to undefined symbols unless KBUILD_MODPOST_WARN=1 is enabled, which turns the errors into warnings. This is because modpost cannot know the list of symbols if Module.symvers is missing, which is the case since we don't have a built Image to work with.
-
Douglas Raillard authored
FIX Using named ring buffer in ftrace makes trace-cmd report display the name of the buffer at the beginning of each event. Adjust the parsing regex to ignore it.
-
- Mar 14, 2023
-
-
Douglas Raillard authored
fade6b42 ftrace: Fix use of named buffer git-subtree-dir: external/devlib git-subtree-split: fade6b4247a0a278df1502a795f561501bef77a5
-
Douglas Raillard authored
This reverts commit d85ed714.
-
- Mar 13, 2023
-
-
FEATURE Add a file for Pixel 6-specific analysis. Include methods df_power_meter() for getting power meter readings in mW and plot_power_meter() for plotting out the meter readings from different channels.
-
FEATURE Add a vdims (value dimensions) parameter to plot_signal. Additionally, set the unit of the preexisting Time dimension to seconds.
-
Douglas Raillard authored
Revert "Merge pull request #1953 from mrkajetanp/gb6"
-
Douglas Raillard authored
This reverts commit 2eeca38b, reversing changes made to 72e4d039.
-
Douglas Raillard authored
FEATURE Report kernel module build error reporting in FtraceCollector: it will always raise a MissingTraceEventError() along with an error-level log stating that the module build was attempted because of unavailable events.
-
Currently, WAOutput objects can be created by passing a directory containing multiple different runs, each potentially with many iterations. Those runs will then be concatenated in the df. The same functionality can be easily replicated by creating the objects separately and concatenating their dfs as needed while avoiding potential issues with mixing different runs inside one object.
-
FEATURE This commit allows acessing a list of jobs in the WAOutput through wa_output.jobs along with a LazyMapping of raw Trace objects in WATraceCollector through wa_output['trace'].traces. It also adds an 'outputs' property to WAOutput through which a dict of discovered WAOutputs can be accessed. Alongside that, a private _jobs property is created to unify job discovery between the old multi-wa-output approach and the new sigle-output approach. It modifies the _needs_params method to ignore parameters that are VAR_POSITIONAL or VAR_KEYWORD. This is so that the trace collector can be accessed with ['trace'] instead of just through get_collector() under this use case.
-
FEATURE Add a LazyMapping class to create dict-like objects the elements of which can be evaluated on the fly.
-
Douglas Raillard authored
FIX Fix typo in the parser detection that made it default to trace.dat parser when extension is .html.
-
Douglas Raillard authored
FIX Uses the appropriate constructor for HTML trace files.
-
Douglas Raillard authored
* Add details on expectations of docstrings. * State pylint expectations (or lack of). * Cleanup the self test section. * Add section on how to update binary tools.
-
Douglas Raillard authored
readthedocs uses an old version of sphinx for projects created before 2020: https://github.com/mgeier/sphinx-last-updated-by-git/issues/1 So force a newer version manually. Also install missing apt packages for dot and plantuml
-
Douglas Raillard authored
-
Douglas Raillard authored
Bump from 3.7 to 3.10
-
Douglas Raillard authored
Update subtrees to include GB6 support in workload-automation
-
Kajetan Puchalski authored
remote: https://github.com/ARM-Software/workload-automation.git
-
Kajetan Puchalski authored
40a118c8c geekbench: Add support for Geekbench 6 c4535320f docs: Update plugin How To Guides 08b87291f build(deps): bump certifi from 2020.12.5 to 2022.12.7 a3eacb877 Load RuntimeConfig from plugins git-subtree-dir: external/workload-automation git-subtree-split: 40a118c8cd205450b28e78c845c9a707bdac4e7c
-
Kajetan Puchalski authored
remote: https://github.com/ARM-Software/devlib.git
-