Linux Perf
sctop Namespace Reference

Functions

def trace_begin ()
 
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 (interval)
 

Variables

string usage = "perf script -s sctop.py [comm] [interval]\n";
 
 for_comm = None
 
int default_interval = 3
 
int interval = default_interval
 
 syscalls = autodict()
 

Function Documentation

◆ print_syscall_totals()

def sctop.print_syscall_totals (   interval)

Definition at line 61 of file sctop.py.

Here is the call graph for this function:

◆ raw_syscalls__sys_enter()

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

Definition at line 47 of file sctop.py.

Here is the call graph for this function:

◆ syscalls__sys_enter()

def sctop.syscalls__sys_enter (   event_name,
  context,
  common_cpu,
  common_secs,
  common_nsecs,
  common_pid,
  common_comm,
  id,
  args 
)

Definition at line 58 of file sctop.py.

Here is the call graph for this function:

◆ trace_begin()

def sctop.trace_begin ( )

Definition at line 41 of file sctop.py.

Here is the call graph for this function:

Variable Documentation

◆ default_interval

int sctop.default_interval = 3

Definition at line 23 of file sctop.py.

◆ for_comm

sctop.for_comm = None

Definition at line 22 of file sctop.py.

◆ interval

int sctop.interval = default_interval

Definition at line 24 of file sctop.py.

◆ syscalls

sctop.syscalls = autodict()

Definition at line 39 of file sctop.py.

◆ usage

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

Definition at line 20 of file sctop.py.