Linux Perf
compaction-times.py File Reference

Go to the source code of this file.

Classes

class  compaction-times.popt
 
class  compaction-times.topt
 
class  compaction-times.comm_filter
 
class  compaction-times.pid_filter
 
class  compaction-times.pair
 
class  compaction-times.cnode
 
class  compaction-times.chead
 

Namespaces

 compaction-times
 

Functions

def compaction-times.set_type (t)
 
def compaction-times.ns (sec, nsec)
 
def compaction-times.time (ns)
 
def compaction-times.trace_end ()
 
def compaction-times.compaction__mm_compaction_migratepages (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, nr_migrated, nr_failed)
 
def compaction-times.compaction__mm_compaction_isolate_freepages (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken)
 
def compaction-times.compaction__mm_compaction_isolate_migratepages (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, start_pfn, end_pfn, nr_scanned, nr_taken)
 
def compaction-times.compaction__mm_compaction_end (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, zone_start, migrate_start, free_start, zone_end, sync, status)
 
def compaction-times.compaction__mm_compaction_begin (event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, zone_start, migrate_start, free_start, zone_end, sync)
 
def compaction-times.pr_help ()
 

Variables

string compaction-times.usage = "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex]\n"
 
 compaction-times.comm_re = None
 
 compaction-times.pid_re = None
 
string compaction-times.pid_regex = "^(\d*)-(\d*)$|^(\d*)$"
 
 compaction-times.opt_proc = popt.DISP_DFL
 
 compaction-times.opt_disp = topt.DISP_ALL
 
bool compaction-times.opt_ns = True
 
int compaction-times.argc = len(sys.argv) - 1
 
 compaction-times.m = pid_re.search(opt)
 
 compaction-times.f = pid_filter(m.group(3), m.group(3))