lisa issueshttps://gitlab.arm.com/tooling/lisa/-/issues2024-01-16T23:09:29Zhttps://gitlab.arm.com/tooling/lisa/-/issues/2172cgroups V2: support available?2024-01-16T23:09:29ZDarryl Greencgroups V2: support available?*Created by: Ablu*
Hi!
Systemd is quite ubiquitous nowadays. However, it looks like the cgroups module is not loaded under systemd due to incompatibilities. Now, I see that devlib has a cgroups2 module where the module documentation ...*Created by: Ablu*
Hi!
Systemd is quite ubiquitous nowadays. However, it looks like the cgroups module is not loaded under systemd due to incompatibilities. Now, I see that devlib has a cgroups2 module where the module documentation reads[^1] like it may work with systemd.
Is there any way to use this with lisa? There does not seem to be much of documentation on how to use cgroups2 and the code structure looks quite different. So I am not really sure where to get started on integrating it with lisa.
[^1]: https://github.com/ARM-software/devlib/blob/e012b17/devlib/module/cgroups2.py#L23https://gitlab.arm.com/tooling/lisa/-/issues/2159Incorrect type casting in lisa.datautils.series_convert()2023-12-22T13:28:44ZDouglas RaillardIncorrect type casting in lisa.datautils.series_convert()**Describe the bug**
Converting a series with values higher than 2^63 can lead to a negative value if a signed type is tried first due to `Series.astype()` behavior:
```
import pandas as pd
import numpy as np
series = pd.Series(...**Describe the bug**
Converting a series with values higher than 2^63 can lead to a negative value if a signed type is tried first due to `Series.astype()` behavior:
```
import pandas as pd
import numpy as np
series = pd.Series([18446743558487338888])
print(series.astype('int64'))
print(series_convert(series, dtype='int64'))
```
This lambda in lisa.trace needs to be changed so that invalid casts raise an exception:
```
astype = lambda dtype: lambda x: x.astype(dtype, copy=False)
```