Linux Perf
syscall-counts 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.py [comm]\n";
 
 for_comm = None
 
 syscalls = autodict()
 

Function Documentation

◆ print_syscall_totals()

def syscall-counts.print_syscall_totals ( )

Definition at line 52 of file syscall-counts.py.

Here is the call graph for this function:

◆ raw_syscalls__sys_enter()

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

Definition at line 38 of file syscall-counts.py.

Here is the call graph for this function:

◆ syscalls__sys_enter()

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

Definition at line 49 of file syscall-counts.py.

Here is the call graph for this function:

◆ trace_begin()

def syscall-counts.trace_begin ( )

Definition at line 30 of file syscall-counts.py.

◆ trace_end()

def syscall-counts.trace_end ( )

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

Here is the call graph for this function:

Variable Documentation

◆ for_comm

syscall-counts.for_comm = None

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

◆ syscalls

syscall-counts.syscalls = autodict()

Definition at line 28 of file syscall-counts.py.

◆ usage

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

Definition at line 18 of file syscall-counts.py.