Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/util/
Dcgroup.c79 struct cgroup_sel *cgrp = NULL; in add_cgroup() local
85 cgrp = counter->cgrp; in add_cgroup()
86 if (!cgrp) in add_cgroup()
88 if (!strcmp(cgrp->name, str)) in add_cgroup()
91 cgrp = NULL; in add_cgroup()
94 if (!cgrp) { in add_cgroup()
95 cgrp = zalloc(sizeof(*cgrp)); in add_cgroup()
96 if (!cgrp) in add_cgroup()
99 cgrp->name = str; in add_cgroup()
101 cgrp->fd = open_cgroup(str); in add_cgroup()
[all …]
Dcgroup.h14 extern void close_cgroup(struct cgroup_sel *cgrp);
Devsel.h76 struct cgroup_sel *cgrp; member
Devsel.c818 close_cgroup(evsel->cgrp); in perf_evsel__delete()
1014 if (evsel->cgrp) { in __perf_evsel__open()
1016 pid = evsel->cgrp->fd; in __perf_evsel__open()
1036 if (!evsel->cgrp) in __perf_evsel__open()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-stat.c637 if (evsel->cgrp) in nsec_printout()
638 fprintf(output, "%s%s", csv_sep, evsel->cgrp->name); in nsec_printout()
848 if (evsel->cgrp) in abs_printout()
849 fprintf(output, "%s%s", csv_sep, evsel->cgrp->name); in abs_printout()
982 if (counter->cgrp) in print_aggr()
984 csv_sep, counter->cgrp->name); in print_aggr()
1028 if (counter->cgrp) in print_counter_aggr()
1029 fprintf(output, "%s%s", csv_sep, counter->cgrp->name); in print_counter_aggr()
1085 if (counter->cgrp) in print_counter()
1087 csv_sep, counter->cgrp->name); in print_counter()
/external/linux-tools-perf/src/include/linux/
Dperf_event.h435 struct perf_cgroup *cgrp; /* cgroup event is attach to */ member
516 struct perf_cgroup *cgrp; member