| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/usr/libexec/perf-core/scripts/python/ |
Upload File : |
Ñò
•˜¦_c
@ sm d d k Z d d k Z d d k Z d d k Z e i i e i d d ƒ d d k Td d k Td d k Td Z
d Z d Z
e
Z e e i ƒ d j o e i e
ƒ n e e i ƒ d j o$ e i d Z e e i d ƒ Z n[ e e i ƒ d j oD y e e i d ƒ Z Wq<e j
o e i d Z e
Z q<Xn e ƒ Z d „ Z d
„ Z d „ Z d „ Z d S(
iÿÿÿÿNt PERF_EXEC_PATHs. /scripts/python/Perf-Trace-Util/lib/Perf/Trace( t *s* perf script -s sctop.py [comm] [interval]
i i i c C s t i t t f ƒ d S( N( t threadt start_new_threadt print_syscall_totalst interval( ( ( s. /usr/libexec/perf-core/scripts/python/sctop.pyt trace_begin) s c
C s[ t d j o | t j o d Sn y t | c d 7<Wn t j
o d t | <n Xd S( Ni ( t for_commt Nonet syscallst TypeError(
t
event_namet contextt
common_cput common_secst common_nsecst
common_pidt common_commt common_callchaint idt args( ( s. /usr/libexec/perf-core/scripts/python/sctop.pyt syscalls__sys_enter- s
c C s t t ƒ d S( N( t raw_syscalls__sys_entert locals( R R R
R R R R R R ( ( s. /usr/libexec/perf-core/scripts/python/sctop.pyR 8 s c C sµ x® t ƒ t d j o d t Gn d Gd d Gd d
Gx] t t i ƒ d d „ d
t ƒD]: \ } } y d t | ƒ | f GWqY t j
o qY XqY Wt i ƒ t
i | ƒ q d S( Ns
syscall events for %s:
s
syscall events:
s %-40s %10s
t eventt counts( ----------------------------------------s
----------t keyc S s | \ } } | | f S( ( ( t .0t kt v( ( s. /usr/libexec/perf-core/scripts/python/sctop.pyt <lambda>I s t reverses %-40s %10d
( R s count( s( ----------------------------------------s
----------( t
clear_termR R t sortedR t iteritemst Truet syscall_nameR
t cleart timet sleep( R R t val( ( s. /usr/libexec/perf-core/scripts/python/sctop.pyR = s"