Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
� i��d� � �8 � d dl mZmZmZ d dlZ G d� dee� Zy)� )�Plugin�IndependentPlugin� PluginOptNc �D � e Zd ZdZdZdZ edded�� gZd� Z d � Z d � Zy)�Ebpfz eBPF tool�ebpf)�system�kernel�network� namespacesNz0Number of namespaces to collect, 0 for unlimited)�default�val_type�descc � � g } t j |� }t t |� � D ]! }d|| v s�|j || d � �# |S # t $ r }| j d|z � |cY d }~S d }~ww xY w)Nz-Could not parse bpftool prog list as JSON: %s�id��json�loads� Exception� _log_info�range�len�append)�self� prog_json�out� prog_data�e�items �9/usr/lib/python3/dist-packages/sos/report/plugins/ebpf.py�get_bpftool_prog_idszEbpf.get_bpftool_prog_ids s� � ��� �� � �9�-�I� �#�i�.�)� 2�D��y���&�� � �9�T�?�4�0�1� 2� � �� � ��N�N�J�Q�N�O��J�� �� �A � A<�A7�1A<�7A<c � � g } t j |� }t t |� � D ]! }d|| v s�|j || d � �# |S # t $ r }| j d|z � |cY d }~S d }~ww xY w)Nz,Could not parse bpftool map list as JSON: %sr r )r �map_jsonr �map_datar r s r �get_bpftool_map_idszEbpf.get_bpftool_map_ids$ s� � ��� ��z�z�(�+�H� �#�h�-�(� 1�D��x��~�%�� � �8�D�>�$�/�0� 1� � �� � ��N�N�I�A�M�N��J�� �r"