??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
æ”\c @ sÄ d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l j
Z
d d l m Z d d l m
Z
d d l m Z d d l Z e j j ƒ Z d e f d „ ƒ YZ d S( iÿÿÿÿN( t TunedException( t InvalidProfileException( t commands( t exports( t ProfileRecommendert Daemonc B sï e Z d d d d „ Z d „ Z d „ Z d „ Z e d „ Z e d „ ƒ Z
e d „ ƒ Z e d „ ƒ Z d „ Z
d „ Z d
„ Z d „ Z d „ Z d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e d „ Z RS( c C s% t j d ƒ t j | _ t t j ƒ | _ t t j ƒ | _ t j
| _ t | _
| d k rô | j t j t j ƒ | _ t | j t j t j ƒ ƒ | _ t | j t j t j ƒ ƒ | _ | j t j t j
ƒ | _ | j t j t j ƒ | _
n | | _ | j d k r!t t j ƒ | _ n | j d k r<t | _ n! | j | j k r]| j | _ n | j | j | _ t j d | j ƒ | j rÁt j d ƒ t j d | j | j | j f ƒ n | | _ | | _ | j ƒ t ƒ | _ y | j | ƒ Wn$ t! k
r } t j" d | ƒ n Xd S( Ns initializing daemoni s$ using sleep interval of %d second(s)s8 dynamic tuning is enabled (can be overridden by plugins)sF using update interval of %d second(s) (%d times of the sleep interval)s: Cannot set initial profile. No tunings will be enabled: %s(# t logt debugt constst CFG_DEF_DAEMONt _daemont intt CFG_DEF_SLEEP_INTERVALt _sleep_intervalt CFG_DEF_UPDATE_INTERVALt _update_intervalt CFG_DEF_DYNAMIC_TUNINGt _dynamic_tuningt Truet _recommend_commandt Nonet get_boolt
CFG_DAEMONt gett CFG_SLEEP_INTERVALt CFG_UPDATE_INTERVALt CFG_DYNAMIC_TUNINGt CFG_RECOMMEND_COMMANDt CFG_DEF_RECOMMEND_COMMANDt _applicationt Falset
_sleep_cyclest infot
_unit_managert _profile_loadert
_init_threadsR t _cmdt
_init_profileR t error( t selft unit_managert profile_loadert
profile_namest configt applicationt e( ( s7 /usr/lib/python2.7/site-packages/tuned/daemon/daemon.pyt __init__ s@
!!
'
c C sV d | _ t j ƒ | _ t j ƒ | _ t j ƒ | _ | j j ƒ t j ƒ | _ d S( N( R t _threadt threadingt Eventt
_terminatet _terminate_profile_switcht _not_usedt sett _profile_applied( R' ( ( s7 /usr/lib/python2.7/site-packages/tuned/daemon/daemon.pyR# 4 s
c C s | j d ƒ d S( sA Read configuration files again and load profile according to themN( R% R ( R' ( ( s7 /usr/lib/python2.7/site-packages/tuned/daemon/daemon.pyt reload_profile_config> s c C s… t } | d k rC | j ƒ \ } } | d k r_ t j d ƒ q_ n | d k r_ t j d ƒ n d | _ d | _ | j | | ƒ d S( NsI No profile is preset, running in manual mode. No profile will be enabled.t s No profile will be enabled.( R R t _get_startup_profileR R t _profilet _manualt set_profile( R' R* t manual( ( s7 /usr/lib/python2.7/site-packages/tuned/daemon/daemon.pyR% B s c C s= | j ƒ r* t | j | t d ƒ ƒ ‚ n | d k sB | d k rW d | _ | | _ n´ | j ƒ } xH | D]@ } | | j j j
ƒ k rj t | j | t d | ƒ ƒ ‚ qj qj Wy" | j j | ƒ | _ | | _ Wn8 t
k
r
} t | j | t d | | f ƒ ƒ ‚ n X| r9| d k r&d } n | j | | ƒ n d S( Ns/ Cannot set profile while the daemon is running.R8 s% Requested profile '%s' doesn't exist.s Cannot load profile(s) '%s': %s( t
is_runningR t _notify_profile_changedR R R: R; t splitR) t profile_locatort get_known_namesR" t loadR t _save_active_profile( R' R* R= t save_instantlyt profile_listt profileR- ( ( s7 /usr/lib/python2.7/site-packages/tuned/daemon/daemon.pyR<