Linux Perf
|
Classes | |
class | chead |
class | cnode |
class | comm_filter |
class | pair |
class | pid_filter |
class | popt |
class | topt |
Functions | |
def | set_type (t) |
def | ns (sec, nsec) |
def | time (ns) |
def | trace_end () |
def | 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__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__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__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__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 | pr_help () |
Variables | |
string | usage = "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex]\n" |
comm_re = None | |
pid_re = None | |
string | pid_regex = "^(\d*)-(\d*)$|^(\d*)$" |
opt_proc = popt.DISP_DFL | |
opt_disp = topt.DISP_ALL | |
bool | opt_ns = True |
int | argc = len(sys.argv) - 1 |
m = pid_re.search(opt) | |
f = pid_filter(m.group(3), m.group(3)) | |
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 | |||
) |
Definition at line 242 of file compaction-times.py.
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_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_migratepages | ( | event_name, | |
context, | |||
common_cpu, | |||
common_secs, | |||
common_nsecs, | |||
common_pid, | |||
common_comm, | |||
common_callchain, | |||
nr_migrated, | |||
nr_failed | |||
) |
def compaction-times.ns | ( | sec, | |
nsec | |||
) |
Definition at line 48 of file compaction-times.py.
def compaction-times.pr_help | ( | ) |
Definition at line 246 of file compaction-times.py.
def compaction-times.set_type | ( | t | ) |
Definition at line 44 of file compaction-times.py.
def compaction-times.time | ( | ns | ) |
Definition at line 51 of file compaction-times.py.
def compaction-times.trace_end | ( | ) |
int compaction-times.argc = len(sys.argv) - 1 |
Definition at line 270 of file compaction-times.py.
compaction-times.comm_re = None |
Definition at line 261 of file compaction-times.py.
compaction-times.f = pid_filter(m.group(3), m.group(3)) |
Definition at line 300 of file compaction-times.py.
compaction-times.m = pid_re.search(opt) |
Definition at line 297 of file compaction-times.py.
compaction-times.opt_disp = topt.DISP_ALL |
Definition at line 266 of file compaction-times.py.
bool compaction-times.opt_ns = True |
Definition at line 268 of file compaction-times.py.
compaction-times.opt_proc = popt.DISP_DFL |
Definition at line 265 of file compaction-times.py.
compaction-times.pid_re = None |
Definition at line 262 of file compaction-times.py.
string compaction-times.pid_regex = "^(\d*)-(\d*)$|^(\d*)$" |
Definition at line 263 of file compaction-times.py.