??????????????
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 @ sW d d l m Z d d l j Z d d l Z e j j ƒ Z d e j f d „ ƒ YZ d S( i ( t baseiÿÿÿÿNt Pluginc B sh e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z RS( s:
Base class for plugins with device hotpluging support.
c O s t t | ƒ j | | Ž d S( N( t superR t __init__( t selft argst kwargs( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR s c C s! t t | ƒ j ƒ | j ƒ d S( N( R R t cleanupt _hardware_events_cleanup( R ( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR s c C s
t ƒ ‚ d S( N( t NotImplementedError( R ( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt _hardware_events_init s c C s
t ƒ ‚ d S( N( R ( R ( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR s c C s | j ƒ d S( N( R
( R ( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt
_init_devices s c C sd | d k r0 t j d | j ƒ | j | ƒ n0 | d k r` t j d | j ƒ | j | ƒ n d S( Nt adds device '%s' addedt removes device '%s' removed( t logt infot sys_namet _add_devicet _remove_device( R t eventt device( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt _hardware_events_callback s c C s | j } | | j | j Bk r# d Sxè t | j j ƒ ƒ D]° \ } } t | j | | g ƒ ƒ d k r9 t j d | | f ƒ | j j
| ƒ | j | | j d | g ƒ | j
| | ƒ | j | | j d | g ƒ | j j
| ƒ Pq9 q9 Wt j d | ƒ | j j
| ƒ d S( Ni s! instance %s: adding new device %st applys no instance wants %s( R t _assigned_devicest
_free_devicest listt
_instancest itemst lent _get_matching_devicesR R R t _call_device_scriptt
script_pret _added_device_apply_tuningt script_postt processed_devicest debug( R R t device_namet
instance_namet instance( ( s9 /usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR $ s "!c C s÷ | j } | | j | j Bk r# d SxÍ t | j j ƒ ƒ D]¦ } | | j k r9 | j | | j d | g ƒ | j | | ƒ | j | | j
d | g ƒ | j j | ƒ t | j ƒ t | j
ƒ d k | _ | j j | ƒ Pq9 q9 W| j j | ƒ d S( Nt unapplyi ( R R R R R t valuesR" R R! t _removed_device_unapply_tuningR R
R t assigned_devicest active( R R R$ R&