MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: //lib/python3.12/site-packages/tuned/plugins/__pycache__/plugin_rtentsk.cpython-312.opt-1.pyc
�

�]�i���ddlmZddl�ddlZddlmZddlZddlZddl	Z	ejj�ZGd�dej�Zy)�)�base)�*�N)�commandsc��eZdZdZd�Zd�Zy)�
RTENTSKPluginz�
	A plug-in for avoiding inter-processor interrupts caused by enabling
	or disabling static keys.
	
	The plug-in has no options; when included, **TuneD** will keep an open
	socket with timestamping enabled, thus keeping the static key enabled.
	c�$�d|_d|_d}d}tjtjtjtj
�}|j
tj||�||_tjd�y)NTF�i@z*opened SOF_TIMESTAMPING_OPT_TX_SWHW socket)�_has_static_tuning�_has_dynamic_tuning�socket�AF_INET�
SOCK_DGRAM�IPPROTO_UDP�
setsockopt�
SOL_SOCKET�rtentsk_socket�log�info)�self�instance�SO_TIMESTAMP�SOF_TIMESTAMPING_OPT_TX_SWHW�ss     �A/usr/lib/python3.12/site-packages/tuned/plugins/plugin_rtentsk.py�_instance_initzRTENTSKPlugin._instance_initsm�� $�(��!&�(��
�,�"'���m�m�F�N�N�F�$5�$5�v�7I�7I�J�!��,�,�v� � �,�0L�M��$���(�(�7�8�c�<�|j}|j�y)N)r�close)rrrs   r�_instance_cleanupzRTENTSKPlugin._instance_cleanup$s��
���!��'�'�)rN)�__name__�
__module__�__qualname__�__doc__rr �rrrrs���9� rr)�r�
decorators�
tuned.logs�tuned�tuned.utils.commandsr�globr
�time�logs�getr�Pluginrr%rr�<module>r0s:�����)��
���j�j�n�n����D�K�K�r