- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.221.114.102
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/bcc/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/bcc/__pycache__/perf.cpython-36.pyc
3

:�)g� �@sxddlZddlZddlmZGdd�dej�ZGdd�dej�ZGdd	�d	ej�ZGd
d�dej�Z	Gdd
�d
e
�ZdS)�N�)�get_online_cpusc@s eZdZdejfdejfgZdS)�_sample_period_union�
sample_periodZsample_freqN)�__name__�
__module__�__qualname__�ct�c_ulong�_fields_�rr�/usr/lib/python3.6/perf.pyrsrc@s eZdZdejfdejfgZdS)�_wakeup_events_union�
wakeup_eventsZwakeup_watermarkN)rrrr	�c_uintrrrrr
rsrc@s0eZdZdejfdejfdejfdejfgZdS)�_bp_addr_unionZbp_addrZkprobe_funcZuprobe_pathZconfig1N)rrrr	r
rrrrr
rsrc@s0eZdZdejfdejfdejfdejfgZdS)�
_bp_len_unionZbp_lenZkprobe_addrZprobe_offsetZconfig2N)rrrr	r
rrrrr
r'src@s|eZdZGdd�dej�ZdZdZdZdZ	dZ
dZd	Zd
Z
dZejdd
d�ZejZejZedd��Zede	dfdd��ZdS)�Perfc7s eZdZddddgZdejfdejfdejfdefdejfd	ejfd
ejdfdejdfd
ejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfdejdfd ejdfd!ejdfd"ejdfd#ejdfd$ejdfd%ejdfd&ejdfd'ejdfd(ejdfd)ejdfd*ejdfd+ejdfd,ejdfd-ejd.fdefd/ejfde	fde
fd0ejfd1ejfd2ejfd3ejfd4ejfd5ejfd6ejfd7ejfd8ejfd9ejfg6Z
d:d;�Z�fd<d=�Z�ZS)>zPerf.perf_event_attrrrrr�type�size�config�sample_typeZread_formatZdisabledrZinheritZpinnedZ	exclusiveZexclude_userZexclude_kernelZ
exclude_hvZexclude_idleZmmapZcomm�freqZinherit_statZenable_on_execZtaskZ	watermarkZ
precise_ip�Z	mmap_dataZ
sample_id_allZexclude_hostZ
exclude_guestZexclude_callchain_kernelZexclude_callchain_userZmmap2Z	comm_execZuse_clockidZcontext_switchZwrite_backwardZ
namespacesZksymbolZ	bpf_eventZ
aux_outputZcgroupZ	text_pokeZ__reserved_1�Zbp_typeZbranch_sample_typeZsample_regs_userZsample_stack_userZclockidZsample_regs_intrZ
aux_watermarkZsample_max_stackZ__reserved_2Zaux_sample_sizeZ__reserved_3cCs|d|_dd�|jD�|_|jjdd�tjD��|jjdd�tjD��|jjdd�tjD��|jjdd�tjD��dS)N�xcSsg|]}|d�qS)rr)�.0�itemrrr
�
<listcomp>tsz1Perf.perf_event_attr.__init__.<locals>.<listcomp>cSsg|]}|d�qS)rr)rrrrr
ruscSsg|]}|d�qS)rr)rrrrr
rvscSsg|]}|d�qS)rr)rrrrr
rwscSsg|]}|d�qS)rr)rrrrr
rxs)rr�ctype_fields�extendrrrr)�selfrrr
�__init__rszPerf.perf_event_attr.__init__cs<t|d�r$||jkr$tdj||��ttj|�j||�dS)NrzoWarning: Setting field {} on perf_event_attr that isn't part of the ctype - {} won't make it to perf_event_open)�hasattrr�print�format�superr�perf_event_attr�__setattr__)r!�key�value)�	__class__rr
r(zsz Perf.perf_event_attr.__setattr__)rrrZ_anonymous_r	rr
rrrrZc_intZc_uint16rr"r(�
__classcell__rr)r+r
r'1sx

































r'i*rrr�i�i$@i$z	libc.so.6T)Z	use_errnocCs�tjtjtj|�|j|dtj�}|dkr@tj�}t|t	j
|���|jtjkrxtj
|tjd�dkrxtj�}t|t	j
|���tj
|tjd�dkr�tj�}t|t	j
|���dS)Nrrzcommon_pid == -17���)r�syscall�NR_PERF_EVENT_OPENr	Zbyref�pid�PERF_FLAG_FD_CLOEXECZ	get_errno�OSError�os�strerrorr�PERF_TYPE_TRACEPOINT�ioctl�PERF_EVENT_IOC_SET_FILTER�PERF_EVENT_IOC_ENABLE)�cpu�attrZpfdZerrno_rrr
�
_open_for_cpu�s

zPerf._open_for_cpucCsdtj�}||_||_||_tj|_|dkr8d|_||_nd|_d|_	xt
�D]}tj||�qLWdS)Nrri��)rr'rr2r�PERF_SAMPLE_RAWrrrrrr=)Z	tpoint_idr2Zptyperr<r;rrr
�perf_event_open�szPerf.perf_event_openNr/)rrrr	Z	Structurer'r1ZPERF_TYPE_HARDWAREZPERF_TYPE_SOFTWAREr7ZPERF_TYPE_HW_CACHEr>r3r9r:ZCDLLZlibcr0r8�staticmethodr=r?rrrr
r/s"Or)Zctypesr	r5ZutilsrZUnionrrrr�objectrrrrr
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit