+
     Gi  c                   s    ^ RI t ^ RIt^RIHt ]P
                  P                  4       t ! R R]P                  4      t	R# )i    N)basec                   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	# )cpuinfo_checka  
Checks regexes against /proc/cpuinfo. Accepts arguments in the
following form: REGEX1, STR1, REGEX2, STR2, ...[, STR_FALLBACK]
If REGEX1 matches something in /proc/cpuinfo it expands to STR1,
if REGEX2 matches it expands to STR2. It stops on the first match,
i.e. if REGEX1 matches, no more regexes are processed. If none
regex matches it expands to STR_FALLBACK. If there is no fallback,
it expands to empty string.
c                s2   < \         \        V `  R ^ ^4       R# )r   N)superr   __init__)self	__class__s   &T/usr/lib/python3.14/site-packages/tuned/profiles/functions/function_cpuinfo_check.pyr   Zcpuinfo_check.__init__   s    t%oq!<    c                s  < \         \        V `  V4      '       g   R # V P                  P	                  R4      p\        ^ \        V4      ^4       F_  pV^,           \        V4      8  g   K  \        P                  ! W,          V\        P                  4      '       g   KP  W^,           ,          u # 	  \        V4      ^,          '       d
   VR,          # R# )Nz/proc/cpuinfo i)
r   r   executeZ_cmdZ	read_fileZrangeZlenreZsearchZ	MULTILINE)r   ZargsZcpuinfoZir   s   &&  r   r	   Zcpuinfo_check.execute   s    	}d	+D	1	1
II0'CIq!a!ec$i	yy'2<<00QK " 	Y]]
r(?
r    )
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     = r   r   )
r
   Z
tuned.logsZtunedr   r    ZlogsZgetZlogZFunctionr   r   r   r   <module>r      s.    	  jjnnDMM r   