PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  \c@sWddlmZddljZddlZejjZdej fdYZ dS(i(tbaseiNtPlugincBsheZdZdZdZdZdZdZdZdZ dZ d Z d Z RS( s: Base class for plugins with device hotpluging support. cOstt|j||dS(N(tsuperRt__init__(tselftargstkwargs((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR scCs!tt|j|jdS(N(RRtcleanupt_hardware_events_cleanup(R((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyRscCs tdS(N(tNotImplementedError(R((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt_hardware_events_initscCs tdS(N(R (R((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyRscCs|jdS(N(R (R((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt _init_devicesscCsd|dkr0tjd|j|j|n0|dkr`tjd|j|j|ndS(Ntaddsdevice '%s' addedtremovesdevice '%s' removed(tlogtinfotsys_namet _add_devicet_remove_device(Rteventtdevice((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyt_hardware_events_callbacks   cCs|j}||j|jBkr#dSxt|jjD]\}}t|j||gdkr9tj d||f|jj ||j ||j d|g|j |||j ||jd|g|jj |Pq9q9Wtjd||jj |dS(Nis!instance %s: adding new device %stapplysno instance wants %s(Rt_assigned_devicest _free_devicestlistt _instancestitemstlent_get_matching_devicesRRR t_call_device_scriptt script_pret_added_device_apply_tuningt script_posttprocessed_devicestdebug(RRt device_namet instance_nametinstance((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR$s "!cCs|j}||j|jBkr#dSxt|jjD]}||jkr9|j||jd|g|j |||j||j d|g|jj |t |jt |j dk|_|jj |Pq9q9W|jj |dS(Ntunapplyi(RRRRRtvaluesR"RR!t_removed_device_unapply_tuningRR Rtassigned_devicestactive(RRR$R&((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR6s  cCsN|j||g|jrJ|jjtjtjrJ|j||ndS(N(t_execute_all_device_commandsthas_dynamic_tuningt _global_cfgtgettconststCFG_DYNAMIC_TUNINGtCFG_DEF_DYNAMIC_TUNINGt_instance_apply_dynamic(RR&R$((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR Js$cCsN|jr7|jjtjtjr7|j||n|j||gdS(N(R-R.R/R0R1R2t_instance_unapply_dynamict_cleanup_all_device_commands(RR&R$((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyR)Os$( t__name__t __module__t__doc__RRR RR RRRR R)(((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyRs         ( tRt tuned.constsR0t tuned.logsttunedtlogsR/RR(((s9/usr/lib/python2.7/site-packages/tuned/plugins/hotplug.pyts