Disable Functions: Path : /usr/libexec/perf-core/scripts/python/ |
Current File : //usr/libexec/perf-core/scripts/python/syscall-counts.pyo |
� G��dc @ s� d d l Z d d l Z e j j e j d d � d d l Td d l Td d l m Z d Z d Z e e j � d k r� e j e � n e e j � d k r� e j d Z n e � Z d � 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 *( t syscall_names( perf script -s syscall-counts.py [comm] i i c C s d GHd S( Ns, Press control+C to stop and show the summary( ( ( ( s7 /usr/libexec/perf-core/scripts/python/syscall-counts.pyt trace_begin s c C s t � d S( N( t print_syscall_totals( ( ( s7 /usr/libexec/perf-core/scripts/python/syscall-counts.pyt trace_end! s c C sU t d k r | t k r d Sn y t | c d 7<Wn t k rP 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( ( s7 /usr/libexec/perf-core/scripts/python/syscall-counts.pyt raw_syscalls__sys_enter$ s c C s t t � � d S( N( R t locals( R R R R R R R R R ( ( s7 /usr/libexec/perf-core/scripts/python/syscall-counts.pyt syscalls__sys_enter/ s c C su t d k r d t Gn d Gd d Gd d GxC t t j � d d � d t �D] \ } } d t | � | f GqM Wd S( Ns syscall events for %s: s syscall events: s %-40s %10s t eventt counts( ----------------------------------------s -----------t keyc S s | \ } } | | f S( N( ( t .0t kt v( ( s7 /usr/libexec/perf-core/scripts/python/syscall-counts.pyt <lambda>>