Lines Matching refs:pid

1607 	def isTraceEventOutsideDeviceCalls(self, pid, time):  argument
1612 if(d['pid'] == pid and time >= d['start'] and
1624 def sourceDevice(self, phaselist, start, end, pid, type): argument
1631 if dev['pid'] != pid:
1648 def addDeviceFunctionCall(self, displayname, kprobename, proc, pid, start, end, cdata, rdata): argument
1651 tgtdev = self.sourceDevice(phases, start, end, pid, 'device')
1654 if not tgtdev and pid in self.devpids:
1658 tgtdev = self.sourceDevice(phases, start, end, pid, 'thread')
1662 threadname = 'kthread-%d' % (pid)
1664 threadname = '%s-%d' % (proc, pid)
1668 self.newAction(tgtphase, threadname, pid, '', start, end, '', ' kth', '')
1669 return self.addDeviceFunctionCall(displayname, kprobename, proc, pid, start, end, cdata, rdata)
1673 (start, end, proc, pid, kprobename, cdata, rdata))
1697 e = DevFunction(displayname, a, c, r, start, end, ubiquitous, proc, pid, color)
1937 def newActionGlobal(self, name, start, end, pid=-1, color=''): argument
1964 if pid == -2:
1966 elif pid == -3:
1972 newname = self.newAction(targetphase, name, pid, '', start, end, '', htmlclass, color)
1975 def newAction(self, phase, name, pid, parent, start, end, drv, htmlclass='', color=''): argument
1983 if pid == -2 or name not in sysvals.tracefuncs.keys():
1989 list[name] = {'name': name, 'start': start, 'end': end, 'pid': pid,
2101 pid = list[dev]['pid']
2102 if(pid < 0 or re.match('[0-9]*-[0-9]*\.[0-9]*[\.0-9]*\:[\.0-9]*$', pdev)):
2228 def __init__(self, name, args, caller, ret, start, end, u, proc, pid, color): argument
2240 self.pid = pid
2265 tgt.proc == self.proc and tgt.pid == self.pid and \
2413 def __init__(self, pid, sv): argument
2423 self.pid = pid
2574 id = 'task %s' % (self.pid)
2654 def deviceMatch(self, pid, data): argument
2666 if(pid == dev['pid'] and
2680 if(pid == dev['pid'] and
2710 (self.name, self.pid, self.start, self.end,
3186 pid = data[0]
3191 if pid not in self.proclist:
3192 self.proclist[pid] = {'name' : name, 'user' : user, 'kern' : kern}
3194 val = self.proclist[pid]
3200 running[pid] = ujiff + kjiff
3203 for pid in running:
3204 jiffies = running[pid]
3205 val = self.proclist[pid]
3210 out[-1] += '%s-%s %d' % (val['name'], pid, jiffies)
3299 pid = int(m_pid)
3326 if(pid not in testrun[testidx].ftemp):
3327 testrun[testidx].ftemp[pid] = []
3328 testrun[testidx].ftemp[pid].append(FTraceCallGraph(pid, sysvals))
3330 cg = testrun[testidx].ftemp[pid][-1]
3333 testrun[testidx].ftemp[pid].append(FTraceCallGraph(pid, sysvals))
3335 testrun[testidx].ftemp[pid][-1].addLine(t)
3340 for pid in test.ftemp:
3341 for cg in test.ftemp[pid]:
3345 id = 'task %s cpu %s' % (pid, m.group('cpu'))
3357 if(pid == dev['pid'] and
3451 pid = int(m_pid)
3608 if(not data.isTraceEventOutsideDeviceCalls(pid, t.time)):
3624 'end': t.time, 'pid': pid, 'loop': 0})
3629 {'begin': t.time, 'end': t.time, 'pid': pid})
3646 data.newAction(phase, n, pid, p, t.time, -1, drv)
3647 if pid not in data.devpids:
3648 data.devpids.append(pid)
3665 key = (kprobename, pid)
3675 'pid': pid,
3706 key = (m_proc, pid)
3709 testrun.ftemp[key].append(FTraceCallGraph(pid, sysvals))
3714 testrun.ftemp[key].append(FTraceCallGraph(pid, sysvals))
3771 name, pid = key
3774 if pid not in data.devpids:
3775 data.devpids.append(pid)
3781 data.newActionGlobal(e['name'], kb, ke, pid, color)
3785 name, pid = key
3792 data.addDeviceFunctionCall(e['name'], name, e['proc'], pid, kb,
3798 proc, pid = key
3803 id = 'task %s' % (pid)
3810 devname = cg.deviceMatch(pid, data)
3812 sortkey = '%f%f%d' % (cg.start, cg.end, pid)
3822 …sysvals.vprint('Callgraph found for task %d: %.3fms, %s' % (cg.pid, (cg.end - cg.start)*1000, name…