Skip to content
Commit 9ee25dab authored by Pierre Gondois's avatar Pierre Gondois
Browse files

lisa._kmod: Make use of kmod VFS to configure features



A previous patch adds support for a virtual file system (VFS)
for the lisa module. This VFS allows to configure the module
features at runtime.
Make use of this VFS to configure the desired features. Features
that have parameters can be configured from a notebook with:
"""
features = {
  "lisa__perf_counter": {
    "generic_counters":
      ["cpu_cycles", "l1d_cache", "inst_retired"]
  }
}
ftrace_coll = FtraceCollector(target, ..., kmod_features=features)
"""

Original-author: Beata Michalska <beata.michalska@arm.com>
Signed-off-by: Pierre Gondois's avatarPierre Gondois <pierre.gondois@arm.com>
parent aeef76d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment