Lines Matching refs:pid
14 usage = "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid|pid-range|comm-regex]\n"
32 def filter(self, pid, comm):
41 def filter(self, pid, comm):
42 return not (pid >= self.low and (self.high == 0 or pid <= self.high))
118 def create_pending(cls, pid, comm, start_secs, start_nsecs):
121 head = cls.heads[pid]
125 filtered = cls.fobj.filter(pid, comm)
126 head = cls.heads[pid] = chead(comm, pid, filtered)
132 def increment_pending(cls, pid, migrated, fscan, mscan):
133 head = cls.heads[pid]
138 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
141 def complete_pending(cls, pid, secs, nsecs):
142 head = cls.heads[pid]
147 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
159 def __init__(self, comm, pid, filtered):
161 self.pid = pid
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))