uec@sQddlZddlmZmZmZmZdeeeefdYZdS(iN(tPlugint RedHatPlugint UbuntuPlugint DebianPlugintPowerPCcBs)eZdZdZdZdZdZRS(sIBM Power systems tpowerpctsystemthardwaresppc.*c Cspy@tdd+}|j}d|k}d|k}WdQXWntk r_t}t}nX|sl|r|jddddd d d d g|jd dddddddgn|r"|jddddddg|jdddt}|jddd d!d"d#d$d%|gn|rl|jddd&d'd(d)gtj j d*rl|jd+qlndS(,Ns /proc/cpuinfotrtpSeriestPowerNVs/proc/device-tree/s /proc/loadavgs /proc/lockss /proc/miscs /proc/swapss /proc/versions /dev/nvrams/var/lib/lsvpd/sppc64_cpu --infosppc64_cpu --smtsppc64_cpu --cores-presentsppc64_cpu --cores-onsppc64_cpu --run-modesppc64_cpu --frequencysppc64_cpu --dscrs diag_encl -vs/proc/ppc64/lparcfgs/proc/ppc64/eehs/proc/ppc64/systemcfgs/var/log/platforms/var/log/drmgrs/var/log/drmgr.0tnametctsnaptmakesservicelog --dumpsservicelog_notify --listtusysattnt usysidentsserv_config -lsbootlist -m both -rs lparstat -isctsnap -xrunrpttr -d %ss/proc/ppc64/topology_updatess/sys/firmware/opal/msglogs/var/log/opal-elog/s/var/log/opal-prds /var/log/dumpsls -l /var/log/dump( topentreadtIOErrortFalset add_copy_spectadd_cmd_outputtget_cmd_output_pathtTruetostpathtisdir(tselftfptcontentst ispSeriest isPowerNVt ctsnap_path((s7/usr/lib/python2.7/site-packages/sos/plugins/powerpc.pytsetupsn         (ssystemR(sppc.*(t__name__t __module__t__doc__t plugin_nametprofilest architecturesR!(((s7/usr/lib/python2.7/site-packages/sos/plugins/powerpc.pyRs (Rt sos.pluginsRRRRR(((s7/usr/lib/python2.7/site-packages/sos/plugins/powerpc.pyt s "