Linux Perf
failed-syscalls-by-pid Namespace Reference

Functions

def trace_begin ()
 
def trace_end ()
 
def raw_syscalls__sys_exit (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, id, ret)
 
def syscalls__sys_exit (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, id, ret)
 
def print_error_totals ()
 

Variables

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

Function Documentation

◆ print_error_totals()

def failed-syscalls-by-pid.print_error_totals ( )

Definition at line 58 of file failed-syscalls-by-pid.py.

Here is the call graph for this function:

◆ raw_syscalls__sys_exit()

def failed-syscalls-by-pid.raw_syscalls__sys_exit (   event_name,
  context,
  common_cpu,
  common_secs,
  common_nsecs,
  common_pid,
  common_comm,
  common_callchain,
  id,
  ret 
)

Definition at line 42 of file failed-syscalls-by-pid.py.

Here is the call graph for this function:

◆ syscalls__sys_exit()

def failed-syscalls-by-pid.syscalls__sys_exit (   event_name,
  context,
  common_cpu,
  common_secs,
  common_nsecs,
  common_pid,
  common_comm,
  id,
  ret 
)

Definition at line 55 of file failed-syscalls-by-pid.py.

Here is the call graph for this function:

◆ trace_begin()

def failed-syscalls-by-pid.trace_begin ( )

Definition at line 34 of file failed-syscalls-by-pid.py.

◆ trace_end()

def failed-syscalls-by-pid.trace_end ( )

Definition at line 37 of file failed-syscalls-by-pid.py.

Here is the call graph for this function:

Variable Documentation

◆ for_comm

failed-syscalls-by-pid.for_comm = None

Definition at line 20 of file failed-syscalls-by-pid.py.

◆ for_pid

failed-syscalls-by-pid.for_pid = None

Definition at line 21 of file failed-syscalls-by-pid.py.

◆ syscalls

failed-syscalls-by-pid.syscalls = autodict()

Definition at line 32 of file failed-syscalls-by-pid.py.

◆ usage

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

Definition at line 18 of file failed-syscalls-by-pid.py.