crash.session module¶
- class crash.session.Session(roots: List[str] | str = None, vmlinux_debuginfo: List[str] | str = None, module_path: List[str] | str = None, module_debuginfo_path: List[str] | str = None, verbose: bool = False, debug: bool = False)[source]¶
Bases:
objectcrash.Session is the main driver component for crash-python
The Session class loads the kernel modules, sets up tasks, and auto loads any sub modules for autoinitializing commands and subsystems.
- Parameters:
kernel – The kernel to debug during this session
verbose (optional, default=False) – Whether to enable verbose output
debug (optional, default=False) – Whether to enable verbose debugging output