Combiners - command modinfo <module_name>

ModulesInfo

The ModulesInfo combines the collected modules info from the result of KernelModulesInfo.

class insights.combiners.modinfo.ModulesInfo(filtered_modules_info)[source]

Bases: dict

Combiner to combine the result of KernelModulesInfo which supports filter and the parsers which only support one single module. It refers KernelModulesInfo first.

Examples

>>> type(modules_obj)
<class 'insights.combiners.modinfo.ModulesInfo'>
>>> 'i40e' in modules_obj
True
>>> 'bnx2x' in modules_obj.retpoline_y
False
Raises:

SkipComponent -- When content is empty.

retpoline_y

A set of names of the modules with the attribute “retpoline: Y”.

Type:

set

retpoline_n

A set of names of the modules with the attribute “retpoline: N”.

Type:

set