Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/hotshot/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/hotshot/log.pyo |
³ò h”Rc @ s¥ d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z l Z l Z l Z l Z l Z d d d d g Z e Z e Z e Z d d d „ ƒ YZ d S( iÿÿÿÿN( t WHAT_ENTERt WHAT_EXITt WHAT_LINENOt WHAT_DEFINE_FILEt WHAT_DEFINE_FUNCt WHAT_ADD_INFOt LogReadert ENTERt EXITt LINEc B sw e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z d „ Z d „ Z d „ Z RS( c C s h | _ h | _ t i | ƒ | _ | i i | _ | i i | _ | i i d ƒ o | i d | _ n d | _ g | _ | i i | _ | i i | _ d S( Ns current-directory( t _filemapt _funcmapt _hotshott logreadert _readert nextt _nextitemt infot _infot has_keyt cwdt Nonet _stackt appendt _appendt popt _pop( t selft logfn( ( s' /usr/local/lib/python2.5/hotshot/log.pyt __init__ s c C s | i i ƒ d S( N( R t close( R ( ( s' /usr/local/lib/python2.5/hotshot/log.pyR 0 s c C s | i i ƒ S( s8 Return the file descriptor of the log reader's log file.( R t fileno( R ( ( s' /usr/local/lib/python2.5/hotshot/log.pyR 3 s c C s d S( sò This method is called for each additional ADD_INFO record. This can be overridden by applications that want to receive these events. The default implementation does not need to be called by alternate implementations. The initial set of ADD_INFO records do not pass through this mechanism; this is only needed to receive notification when new values are added. Subclasses can inspect self._info after calling LogReader.__init__(). N( ( R t keyt value( ( s' /usr/local/lib/python2.5/hotshot/log.pyt addinfo7 s c C s2 y | i | SWn t j o t d ‚ n Xd S( Ns unknown fileno( R t KeyErrort ValueError( R R ( ( s' /usr/local/lib/python2.5/hotshot/log.pyt get_filenameE s c C s | i i ƒ S( N( R t values( R ( ( s' /usr/local/lib/python2.5/hotshot/log.pyt get_filenamesK s c C s` t i i t i i | ƒ ƒ } x2 | i i ƒ D]! \ } } | | j o | Sq. q. Wt d ‚ d S( Ns unknown filename( t ost patht normcaset normpathR t itemsR$ ( R t filenameR t name( ( s' /usr/local/lib/python2.5/hotshot/log.pyt get_filenoN s c C s8 y | i | | f SWn t j o t d ‚ n Xd S( Ns unknown function location( R R# R$ ( R R t lineno( ( s' /usr/local/lib/python2.5/hotshot/log.pyt get_funcnameU s i c C sŒ x…| i ƒ \ } } } } | t j oE | i | | ƒ \ } } | | | f } | i | ƒ | | | f Sn | t j o | | i ƒ | f Sn | t j o0 | i d \ } } } | | | | f | f Sn | t j o/ t i i t i i | ƒ ƒ } | | i | <q | t j o* | i | } | | f | i | | f <q | t j o. | d j o | | _ n | i | | ƒ q t d ‚ q d S( Niÿÿÿÿs current-directorys unknown event type( R R t _decode_locationR R R R R R R( R) R* R+ R R R R R R"