ok
Direktori : /proc/self/root/lib/python2.7/site-packages/tuned/hardware/ |
Current File : //proc/self/root/lib/python2.7/site-packages/tuned/hardware/inventory.pyo |
� ��\c @ sp d d l Z d d l Z d d l m Z d g Z e j j � Z d e f d � � YZ d e f d � � YZ d S( i����N( t constst Inventoryc B sq e Z d Z d d d d e d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z RS( s� Inventory object can handle information about available hardware devices. It also informs the plugins about related hardware events. c C s� | d k r | | _ n t j � | _ | d k r? t j } n | j | j � | _ | d k rl t j } n | r� | j j | � n | d k r� t � } n | | _ d | _ i | _ d S( N( t Nonet _udev_contextt pyudevt Contextt Monitort from_netlinkt _udev_monitorR t CFG_DEF_UDEV_BUFFER_SIZEt set_receive_buffer_sizet _MonitorObserverFactoryt _monitor_observer_factoryt _monitor_observert _subscriptions( t selft udev_contextt udev_monitor_clst monitor_observer_factoryt buffer_sizeR ( ( s<