403 Forbidden


Disable Functions:
Path : /usr/libexec/perf-core/scripts/python/
File Upload :
Command :
Current File : //usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyc

�
G��dc@sddlZddlZejjejdd�ddlTddlTddlmZdZ	dZdZe
ej�dkr�eje	�ne
ej�dkr�yeejd�ZWq�ejdZq�Xne�Zd	�Zd
�Zd�Zd�Zd
�ZdS(i����NtPERF_EXEC_PATHs./scripts/python/Perf-Trace-Util/lib/Perf/Trace(t*(tsyscall_names/perf script -s syscall-counts-by-pid.py [comm]
iicCs	dGHdS(Ns,Press control+C to stop and show the summary((((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyttrace_begin!scCst�dS(N(tprint_syscall_totals(((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyt	trace_end$sc

Csntr|tks$tr(|tkr(dSyt|||cd7<Wn#tk
ridt|||<nXdS(Ni(tfor_commtfor_pidtsyscallst	TypeError(
t
event_nametcontextt
common_cputcommon_secstcommon_nsecst
common_pidtcommon_commtcommon_callchaintidtargs((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pytraw_syscalls__sys_enter's
c		Cstt��dS(N(Rtlocals(	R
RRR
RRRRR((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pytsyscalls__sys_enter3scCs�tdk	rdtGndGdd
GddGtj�}x�|D]�}t|j�}x~|D]v}d||fGt||j�}xKtt||j�d	d
�dt�D] \}}dt|�|fGq�Wq[Wq>WdS(Ns
syscall events for %s:

s
syscall events by comm/pid:

s%-40s  %10s
scomm [pid]/syscallstcounts(----------------------------------------s
----------s	
%s [%d]
tkeycSs|\}}||fS(N((t.0tktv((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyt<lambda>Istreverses  %-38s  %10d
(scomm [pid]/syscallsscount(s(----------------------------------------s
----------(RtNoneRtkeystsortedt	iteritemstTrueR(t	comm_keystcommtpid_keystpidtid_keysRtval((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyR8s

(tostsystpathtappendtenvirontperf_trace_contexttCoretUtilRtusageRRRtlentargvtexittinttautodictRRRRRR(((s>/usr/libexec/perf-core/scripts/python/syscall-counts-by-pid.pyt<module>s*

					

404 Not Found
[ LogOut ]