Linux Perf
syscall-counts-by-pid Namespace Reference

Functions

def trace_begin ()
 
def trace_end ()
 
def raw_syscalls__sys_enter (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, id, args)
 
def syscalls__sys_enter (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, id, args)
 
def print_syscall_totals ()
 

Variables

string usage = "perf script -s syscall-counts-by-pid.py [comm]\n";
 
 for_comm = None
 
 for_pid = None
 
 syscalls = autodict()
 

Function Documentation

◆ print_syscall_totals()

def syscall-counts-by-pid.print_syscall_totals ( )

Definition at line 56 of file syscall-counts-by-pid.py.

Here is the call graph for this function:

◆ raw_syscalls__sys_enter()

def syscall-counts-by-pid.raw_syscalls__sys_enter (   event_name,
  context,
  common_cpu,
  common_secs,
  common_nsecs,
  common_pid,
  common_comm,
  common_callchain,
  id,
  args 
)

Definition at line 41 of file syscall-counts-by-pid.py.

Here is the call graph for this function:

◆ syscalls__sys_enter()

def syscall-counts-by-pid.syscalls__sys_enter (   event_name,
  context,
  common_cpu,
  common_secs,
  common_nsecs,
  common_pid,
  common_comm,
  id,
  args 
)

Definition at line 53 of file syscall-counts-by-pid.py.

Here is the call graph for this function:

◆ trace_begin()

def syscall-counts-by-pid.trace_begin ( )

Definition at line 33 of file syscall-counts-by-pid.py.

◆ trace_end()

def syscall-counts-by-pid.trace_end ( )

Definition at line 36 of file syscall-counts-by-pid.py.

Here is the call graph for this function:

Variable Documentation

◆ for_comm

syscall-counts-by-pid.for_comm = None

Definition at line 19 of file syscall-counts-by-pid.py.

◆ for_pid

syscall-counts-by-pid.for_pid = None

Definition at line 20 of file syscall-counts-by-pid.py.

◆ syscalls

syscall-counts-by-pid.syscalls = autodict()

Definition at line 31 of file syscall-counts-by-pid.py.

◆ usage

string syscall-counts-by-pid.usage = "perf script -s syscall-counts-by-pid.py [comm]\n";

Definition at line 17 of file syscall-counts-by-pid.py.