ó uÈÔec@sQddlmZmZmZmZddlZdeeeefd„ƒYZdS(iÿÿÿÿ(tPlugint RedHatPlugint UbuntuPlugint DebianPluginNtPcicBs,eZdZdZdZd„Zd„ZRS(sPCI devices tpcithardwaretsystemcCsQtjjdƒstStjdƒ}d|krA|jdƒnt|ƒdkS(Ns /proc/bus/pcitdevicesi(tostpathtisdirtFalsetlistdirtremovetlen(tselftcontent((s3/usr/lib/python2.7/site-packages/sos/plugins/pci.pytcheck_for_bus_devicess  cCsI|jdddgƒ|jƒrE|jdddƒ|jdƒndS(Ns /proc/ioportss /proc/iomems /proc/bus/pcis lspci -nnvvt root_symlinktlspcis lspci -tv(t add_copy_specRtadd_cmd_output(R((s3/usr/lib/python2.7/site-packages/sos/plugins/pci.pytsetups  (Rssystem(t__name__t __module__t__doc__t plugin_nametprofilesRR(((s3/usr/lib/python2.7/site-packages/sos/plugins/pci.pyR s  (t sos.pluginsRRRRR R(((s3/usr/lib/python2.7/site-packages/sos/plugins/pci.pyt s"