Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/kernel.cpython-312.pyc |
�
-�_g� � �D � d dl Z d dlmZ d dlmZmZmZ G d� dee� Zy)� N)�RedHatPolicy)�Plugin�IndependentPlugin� PluginOptc �V � e Zd ZdZdZdZdZdZdZ e ddd �
� e ddd�
� gZ
d
� Zy)�Kernela� The Kernel plugin is aimed at collecting general information about
the locally running kernel. This information should be distribution-neutral
using commands and filesystem collections that are ubiquitous across
distributions.
Debugging information from /sys/kernel/debug is collected by default,
however care is taken so that these collections avoid areas like
/sys/kernel/debug/tracing/trace_pipe which would otherwise cause the
sos collection attempt to appear to 'hang'.
The 'trace' option will enable the collection of the
/sys/kernel/debug/tracing/trace file specfically, but will not change the
behavior stated above otherwise.
zLinux kernel�kernel)�system�hardwarer )�kernel$z/sys/module�
with-timerFzgather /proc/timer* statistics)�default�desc�tracez+gather /sys/kernel/debug/tracing/trace filec � � t | j t � rd| _ | j ddd�� | j ddd�� | j d� | j
| j � }| j ddj |� z d d
�� g d
�}g }|D ]&