Skip to content

Commit

Permalink
target: Make default modules list empty
Browse files Browse the repository at this point in the history
Default modules are a recurrent source of errors as they fail to
initialize (cgroups particularly) on any recent target. This leads to
error in basically any workload-automation setup on Android 12 and
above targets.

Since modules can now be lazily loaded upon Target attribute access,
there is no reason to preload those anymore.
  • Loading branch information
douglas-raillard-arm authored and marcbonnici committed Apr 24, 2024
1 parent 6939e56 commit 7276097
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions devlib/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,7 @@ class Target(object):
os = None
system_id = None

default_modules = [
'hotplug',
'cpufreq',
'cpuidle',
'cgroups',
'hwmon',
]
default_modules = []

@property
def core_names(self):
Expand Down

0 comments on commit 7276097

Please sign in to comment.