+
    i!                         ^ RI t^ RIt^RIHt  ! R R]P
                  4      t ! R R]P
                  4      t ! R R]P
                  4      t ! R	 R
]P
                  4      t	 ! R R]
4      tR# )    N)get_online_cpusc                   N    ] tR t^tR]P
                  3R]P
                  3.tRtR# )_sample_period_unionsample_periodsample_freq N__name__
__module____qualname____firstlineno__ctc_ulong_fields___static_attributes__r       */usr/lib/python3/dist-packages/bcc/perf.pyr   r      s!     "**-

+
r   r   c                   N    ] tR t^tR]P
                  3R]P
                  3.tRtR# )_wakeup_events_unionwakeup_eventswakeup_watermarkr   N)r
   r   r   r   r   c_uintr   r   r   r   r   r   r      s!     ")),#RYY/
r   r   c                       ] tR t^tR]P
                  3R]P
                  3R]P
                  3R]P
                  3.tRtR# )_bp_addr_unionbp_addrkprobe_funcuprobe_pathconfig1r   Nr	   r   r   r   r   r      s9    BJJ'

+

+BJJ'	
r   r   c                       ] tR t^'tR]P
                  3R]P
                  3R]P
                  3R]P
                  3.tRtR# )_bp_len_unionbp_lenkprobe_addrprobe_offsetconfig2r   Nr	   r   r   r   r    r    '   s9    2::&

+,BJJ'	
r   r    c                     a  ] tR t^/t o  ! R R]P
                  4      tRt^ t^t	^t
^tRt^tRtRt]P                   ! RRR	7      t]P$                  t]P&                  t]RR
 l4       t]R]
^ 3R l4       t]RR l4       tRtV tR# )Perfc                      a a ] tR t^1t o. R:Ot. R]P                  3NR]P                  3NR]P                  3NR]3NR]P                  3NR	]P                  3NR
]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR]P                  ^3NR ]P                  ^3NR!]P                  ^3NR"]P                  ^3NR#]P                  ^3NR$]P                  ^3NR%]P                  ^3NR&]P                  ^3NR']P                  ^3NR(]P                  ^3NR)]P                  ^3NR*]P                  ^3NR+]P                  ^3NR]	3NR,]P                  3NR]
3NR]3NR-]P                  3NR.]P                  3NR/]P                  3NR0]P                  3NR1]P                  3NR2]P                  3NR3]P                  3NR4]P                  3NR5]P                  3NR6]P                  3NtR7 tV 3R8 ltR9tVtV ;t# );Perf.perf_event_attrr   r   r   r    typesizeconfigsample_typeread_formatdisabledinheritpinned	exclusiveexclude_userexclude_kernel
exclude_hvexclude_idlemmapcommfreqinherit_statenable_on_exectask	watermark
precise_ip	mmap_datasample_id_allexclude_hostexclude_guestexclude_callchain_kernelexclude_callchain_usermmap2	comm_execuse_clockidcontext_switchwrite_backward
namespacesksymbol	bpf_event
aux_outputcgroup	text_poke__reserved_1bp_typebranch_sample_typesample_regs_usersample_stack_userclockidsample_regs_intraux_watermarksample_max_stack__reserved_2aux_sample_size__reserved_3c                   ^xV n         V P                   Uu. uF  q^ ,          NK  	  upV n        V P                  P                  \        P                   Uu. uF  q^ ,          NK  	  up4       V P                  P                  \
        P                   Uu. uF  q^ ,          NK  	  up4       V P                  P                  \        P                   Uu. uF  q^ ,          NK  	  up4       V P                  P                  \        P                   Uu. uF  q^ ,          NK  	  up4       R# u upi u upi u upi u upi u upi )x   N)r*   r   ctype_fieldsextendr   r   r   r    )selfitems   & r   __init__Perf.perf_event_attr.__init__r   s     #DI=A]](K]Ta](KD%%%,,BVB_B_-`B_$1ggB_-`a%%,,BVB_B_-`B_$1ggB_-`a%%,,.BYBY-ZBY$1ggBY-Z[%%,,-BXBX-YBX$1ggBX-YZ	 )L-`-`-Z-Ys   D-D2D7D<Ec                   < \        V R 4      '       d+   WP                  9  d   \        RP                  W4      4       \        \
        P                  V `  W4       R# )r]   zoWarning: Setting field {} on perf_event_attr that isn't part of the ctype - {} won't make it to perf_event_openN)hasattrr]   printformatsuperr&   perf_event_attr__setattr__)r_   keyvalue	__class__s   &&&r   ri    Perf.perf_event_attr.__setattr__z   sX    t^44DUDU9U  P  W  W  X[  a  b$..A#Mr   )r]   r*   )r   r   r   r    )r
   r   r   r   _anonymous_r   r   r   r   r   r   r    c_intc_uint16r   ra   ri   r   __classdictcell____classcell__)rl   __classdict__s   @@r   rh   r(   1   s    7+7+7 "2::.7 01EF	7
 '

37 '

37 $RYY27 #BIIq17 "299a07 %bii37 (A67 *299a87 &ryy!47 (A67  A.7   A.!7"  A.#7$ (A6%7& *299a8'7(  A.)7* %bii3+7, &ryy!4-7. %bii3/70 )"))Q7172 (A6374 )"))Q7576 4RYYB778 2299a@97: !"))Q/;7< %bii3=7> '		15?7@ *299a8A7B *299a8C7D &ryy!4E7F #BIIq1G7H %bii3I7J &ryy!4K7L "299a0M7N %bii3O7P (B7Q7R 01EFS7T #BII.U7V *>:W7X )-8Y7Z .rzz:[7\ ,RZZ8]7^ -bii8_7` #BHH-a7b ,RZZ8c7d )"))4e7f ,R[[9g7h (5i7j +BII6k7l (3m7r[N Nr   rh   i*  i   i$@i $  z	libc.so.6T)	use_errnoc                   \         P                  \         P                  \        P                  ! V4      W R\         P
                  4      pV^ 8  d6   \        P                  ! 4       p\        V\        P                  ! V4      4      hVP                  \         P                  8X  d`   \         P                  V\         P                  R4      ^ 8  d6   \        P                  ! 4       p\        V\        P                  ! V4      4      h\         P                  V\         P                  ^ 4      ^ 8  d6   \        P                  ! 4       p\        V\        P                  ! V4      4      hR# )   zcommon_pid == -17N)r&   syscallNR_PERF_EVENT_OPENr   byrefPERF_FLAG_FD_CLOEXEC	get_errnoOSErrorosstrerrorr)   PERF_TYPE_TRACEPOINTioctlPERF_EVENT_IOC_SET_FILTERPERF_EVENT_IOC_ENABLE)cpuattrpidpfderrno_s   &&&  r   _open_for_cpuPerf._open_for_cpu   s    ll4#:#:BHHTN#&R#'#<#<> 7!#%fbkk&.ABB99 9 99zz#t'E'E"579:;%'\\^F")&"++f2E"FF ::c4#=#=qAAE!#%fbkk&.ABB Fr   c                   \         P                  4       pWn        W$n        \         P                  Vn        V^ 8  d   ^Vn        W4n        M^Vn        RVn        \        4        F  p\         P                  WTV4       K  	  R# )r   i N)r&   rh   r+   r)   PERF_SAMPLE_RAWr,   r8   r   r   r   r   )	tpoint_idr   ptyper8   r   r   s   &&&&  r   perf_event_openPerf.perf_event_open   sk     ++-'!	#'#7#7 !8 !DI)-&)*D&%,"*,C**3c: -r   c                T    \        4        F  p\        P                  W V4       K  	  R # )N)r   r&   r   )r   r   r   s   && r   perf_custom_event_openPerf.perf_custom_event_open   s    *,C**3c: -r   r   Nrw   )rw   )r
   r   r   r   r   	Structurerh   ry   PERF_TYPE_HARDWAREPERF_TYPE_SOFTWAREr   PERF_TYPE_HW_CACHEr   r{   r   r   CDLLlibcrx   r   staticmethodr   r   r   r   rq   )rs   s   @r   r&   r&   /   s     L	Nbll L	N^ !     !$.! $ ww{d3,,

		C 
	C( 
+-5I!"	; 
	;" 
	; 
	;r   r&   )ctypesr   r~   utilsr   Unionr   r   r   r    objectr&   r   r   r   <module>r      s^     	 "
288 

288 

RXX 

BHH 
U;6 U;r   