Home
last modified time | relevance | path

Searched refs:cg (Results 1 – 6 of 6) sorted by relevance

/tools/power/pm-graph/
Dbootgraph.py252 def deviceMatch(self, pid, cg): argument
253 if cg.end - cg.start == 0:
261 if cg.name == 'do_one_initcall':
262 if(cg.start <= dev['start'] and cg.end >= dev['end'] and dev['length'] > 0):
263 dev['ftrace'] = cg
267 if(cg.start > dev['start'] and cg.end < dev['end']):
270 dev['ftraces'].append(cg)
423 cg = ftemp[key][-1]
424 res = cg.addLine(t)
435 for cg in ftemp[key]:
[all …]
Dsleepgraph.py1522 cg = d['ftrace']
1523 cg.start = self.trimTimeVal(cg.start, t0, dT, left)
1524 cg.end = self.trimTimeVal(cg.end, t0, dT, left)
1525 for line in cg.list:
2360 cg = self.slice(dev)
2361 if cg:
2362 dev['ftrace'] = cg
3036 cg = testrun[testidx].ftemp[pid][-1]
3037 res = cg.addLine(t)
3047 for cg in test.ftemp[pid]:
[all …]
/tools/testing/selftests/bpf/
Dtest_cgroup_attach.c464 int cg = 0, i, rc = -1; in test_autodetach() local
478 cg = create_and_get_cgroup("/cg_autodetach"); in test_autodetach()
479 if (cg < 0) in test_autodetach()
486 if (bpf_prog_attach(allow_prog[i], cg, BPF_CGROUP_INET_EGRESS, in test_autodetach()
494 assert(bpf_prog_query(cg, BPF_CGROUP_INET_EGRESS, 0, &attach_flags, in test_autodetach()
509 close(cg); in test_autodetach()
510 cg = 0; in test_autodetach()
540 if (cg) in test_autodetach()
541 close(cg); in test_autodetach()
/tools/power/pm-graph/config/
Dstandby-callgraph.cfg27 output-dir: standby-{hostname}-{date}-{time}-cg
Dsuspend-callgraph.cfg27 output-dir: suspend-{hostname}-{date}-{time}-cg
Dfreeze-callgraph.cfg27 output-dir: freeze-{hostname}-{date}-{time}-cg