Lines Matching refs:cg
1802 cg = d['ftrace']
1803 cg.start = self.trimTimeVal(cg.start, t0, dT, left)
1804 cg.end = self.trimTimeVal(cg.end, t0, dT, left)
1805 for line in cg.list:
2669 cg = self.slice(dev)
2670 if cg:
2671 dev['ftrace'] = cg
3330 cg = testrun[testidx].ftemp[pid][-1]
3331 res = cg.addLine(t)
3341 for cg in test.ftemp[pid]:
3342 if len(cg.list) < 1 or cg.invalid or (cg.end - cg.start == 0):
3344 if(not cg.postProcess()):
3349 callstart = cg.start
3350 callend = cg.end
3360 dev['ftrace'] = cg
3711 cg = testrun.ftemp[key][-1]
3712 res = cg.addLine(t)
3799 for cg in test.ftemp[key]:
3800 if len(cg.list) < 1 or cg.invalid or (cg.end - cg.start == 0):
3802 if(not cg.postProcess()):
3810 devname = cg.deviceMatch(pid, data)
3812 sortkey = '%f%f%d' % (cg.start, cg.end, pid)
3813 sortlist[sortkey] = cg
3814 elif len(cg.list) > 1000000 and cg.name != sysvals.ftopfunc:
3816 (devname, len(cg.list)))
3819 cg = sortlist[sortkey]
3820 name = cg.name
3822 …sysvals.vprint('Callgraph found for task %d: %.3fms, %s' % (cg.pid, (cg.end - cg.start)*1000, name…
3823 cg.newActionFromFunction(data)
4212 def callgraphHTML(sv, hf, num, cg, title, color, devid): argument
4219 if cg.id:
4220 cgid += cg.id
4221 cglen = (cg.end - cg.start) * 1000
4226 flen = fmt % (cglen, cg.start, cg.end)
4229 for line in cg.list:
4272 cg = dev['ftrace']
4273 if cg.name == sv.ftopfunc:
4275 num = callgraphHTML(sv, hf, num, cg,
4278 for cg in dev['ftraces']:
4279 num = callgraphHTML(sv, hf, num, cg,
4280 name+' → '+cg.name, color, dev['id'])