+
     Gid  c                   s    ^ RI t ^ RIt^RIHt ^ RIHt ^ RIHt ]P                  ! 4       t	]! 4       t
Rt ! R R]P                  4      tR# )i    N)base)commands)logsz//sys/devices/system/cpu/intel_uncore_frequency/c                   sB   a a ] tR t^t oRtV 3R ltV 3R ltRtVtV ;t	# )package2uncoresz4
Provides uncore device list for a package (socket)
c                s0   < \         \        V `  R ^ 4       R# )r   N)superr   __init__)self	__class__s   &V/usr/lib/python3.14/site-packages/tuned/profiles/functions/function_package2uncores.pyr   Zpackage2uncores.__init__   s    '(91=    c           	     s  < \         \        V `  V4      '       g   R # \        V4      ^ 8:  d   R #  \        P
                  ! \        4      p\        P                  ! TR4      p\        T4      ^ 8  d   RpTpMRp. pT F  pT'       dn   \        T,           R,           p\        P                  P                  T4      '       g   \        P                  RT,          4       Kb  \        P                  T4      pM	TR,          p \!        T4      p	T F(  p
 \!        T
4      pY8X  d   TP%                  T4       K(  K*  	  K  	  \        T4      ^ 8  d   R
P'                  T4      # R #   \         d     R # i ; i  \"         d$    \        P                  RT: RT: R	24        EK!  i ; i  \"         d5    \        P                  ! Y4      '       d   TP%                  T4        K   K  i ; i)Nzuncore*TFz/package_idzFile '%s' does not exist:i   i
   NzInvalid package id 'z' for uncore 'Z'Z,)r   r   executeZlenosZlistdir	SYSFS_DIRZOSErrorfnmatchZfilterZpathZexistslogZwarningcmdZ	read_fileZintZ
ValueErrorZappendZjoin)r   ZargsZall_uncoresZtpmi_devicesZis_tpmiZdevicesZuncoreZfZvalueZ
package_idZpackage_patternZthis_package_idr   s   &&          r   r
   Zpackage2uncores.execute   s   		-d	3	3
Y!^
I&;
 Y7,7;7'fF]*A77>>![[+a/0MM!E 4LEUJ
 ?+_
 	%nnV 	& % 8 "'lQ.'	8D8S 
 
6  KKUFKL  //nnV 	0s5   E >E0F!E-,E-0)FF!8G G  )
Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r
   Z__static_attributes__Z__classdictcell__Z__classcell__)r   Z__classdict__s   @@r   r   r      s     >29 29r	   r   )r   r   Z r    Ztuned.utils.commandsr   Ztunedr   Zgetr   r   r   ZFunctionr   r   r	   r   <module>r      s;    	   ) 
hhjj=	:9dmm :9r	   