Parsers for file /sys/kernel/debug/x86/*_enabled
outputs
This module provides the following parsers:
X86PTIEnabled - file /sys/kernel/debug/x86/pti_enabled
X86IBPBEnabled - file /sys/kernel/debug/x86/ibpb_enabled
X86IBRSEnabled - file /sys/kernel/debug/x86/ibrs_enabled
X86RETPEnabled - file /sys/kernel/debug/x86/retp_enabled
- class insights.parsers.x86_debug.X86DebugEnabled(context)[source]
Bases:
Parser
Class for parsing file
/sys/kernel/debug/x86/*_enabled
- value
the result parsed of /sys/kernel/debug/x86/*_enabled
- Type:
int
- Raises:
SkipComponent -- When input content is empty
- class insights.parsers.x86_debug.X86IBPBEnabled(context)[source]
Bases:
X86DebugEnabled
Class for parsing file
/sys/kernel/debug/x86/ibpb_enabled
Typical output of file/sys/kernel/debug/x86/retp_enabled
looks like:1
Examples
>>> type(dva) <class 'insights.parsers.x86_debug.X86IBPBEnabled'> >>> dva.value 1
- value
the result parsed of ‘/sys/kernel/debug/x86/ibpb_enabled’
- Type:
int
- Raises:
SkipComponent -- When input content is empty
- class insights.parsers.x86_debug.X86IBRSEnabled(context)[source]
Bases:
X86DebugEnabled
Class for parsing file
/sys/kernel/debug/x86/ibrs_enabled
Typical output of file/sys/kernel/debug/x86/ibrs_enabled
looks like:0
Examples
>>> type(dl) <class 'insights.parsers.x86_debug.X86IBRSEnabled'> >>> dl.value 1
- value
the result parsed of ‘/sys/kernel/debug/x86/ibrs_enabled’
- Type:
int
- Raises:
SkipComponent -- When input content is empty
- class insights.parsers.x86_debug.X86PTIEnabled(context)[source]
Bases:
X86DebugEnabled
Class for parsing file
/sys/kernel/debug/x86/pti_enabled
Typical output of file/sys/kernel/debug/x86/pti_enabled
looks like:0
Examples
>>> type(dv) <class 'insights.parsers.x86_debug.X86PTIEnabled'> >>> dv.value 1
- value
the result parsed of ‘/sys/kernel/debug/x86/pti_enabled’
- Type:
int
- Raises:
SkipComponent -- When input content is empty
- class insights.parsers.x86_debug.X86RETPEnabled(context)[source]
Bases:
X86DebugEnabled
Class for parsing file
/sys/kernel/debug/x86/retp_enabled
Typical output of file/sys/kernel/debug/x86/retp_enabled
looks like:1
Examples
>>> type(dval) <class 'insights.parsers.x86_debug.X86RETPEnabled'> >>> dval.value 1
- value
the result parsed of ‘/sys/kernel/debug/x86/retp_enabled’
- Type:
int
- Raises:
SkipComponent -- When input content is empty