Home
last modified time | relevance | path

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

/tools/perf/tests/
Dexpand-cgroup.c24 const char *cgrp_name[] = { "A", "B", "C" }; in test_expand_events() local
25 int nr_cgrps = ARRAY_SIZE(cgrp_name); in test_expand_events()
70 if (strcmp(evsel->cgrp->name, cgrp_name[i / nr_events])) { in test_expand_events()
73 i, evsel->cgrp->name, cgrp_name[i / nr_events]); in test_expand_events()
/tools/testing/selftests/bpf/prog_tests/
Dcgroup_iter.c196 const char *cgrp_name = "/dead"; in test_walk_dead_self_only() local
203 cgrp_fd = create_and_get_cgroup(cgrp_name); in test_walk_dead_self_only()
231 remove_cgroup(cgrp_name); in test_walk_dead_self_only()
/tools/perf/util/
Dstat-display.c160 static void print_cgroup_std(struct perf_stat_config *config, const char *cgrp_name) in print_cgroup_std() argument
162 fprintf(config->output, " %-*s", CGROUP_LEN, cgrp_name); in print_cgroup_std()
165 static void print_cgroup_csv(struct perf_stat_config *config, const char *cgrp_name) in print_cgroup_csv() argument
167 fprintf(config->output, "%s%s", config->csv_sep, cgrp_name); in print_cgroup_csv()
170 static void print_cgroup_json(struct perf_stat_config *config, const char *cgrp_name) in print_cgroup_json() argument
172 fprintf(config->output, "\"cgroup\" : \"%s\", ", cgrp_name); in print_cgroup_json()
178 const char *cgrp_name = cgrp ? cgrp->name : ""; in print_cgroup() local
181 print_cgroup_json(config, cgrp_name); in print_cgroup()
183 print_cgroup_csv(config, cgrp_name); in print_cgroup()
185 print_cgroup_std(config, cgrp_name); in print_cgroup()
Dsort.c803 const char *cgrp_name = "N/A"; in hist_entry__cgroup_snprintf() local
809 cgrp_name = cgrp->name; in hist_entry__cgroup_snprintf()
811 cgrp_name = "unknown"; in hist_entry__cgroup_snprintf()
814 return repsep_snprintf(bf, size, "%s", cgrp_name); in hist_entry__cgroup_snprintf()
Dhist.c243 const char *cgrp_name = "unknown"; in hists__calc_col_len() local
247 cgrp_name = cgrp->name; in hists__calc_col_len()
249 hists__new_col_len(hists, HISTC_CGROUP, strlen(cgrp_name)); in hists__calc_col_len()
/tools/perf/
Dbuiltin-script.c2203 const char *cgrp_name; in process_event() local
2207 cgrp_name = cgrp->name; in process_event()
2209 cgrp_name = "unknown"; in process_event()
2210 fprintf(fp, " %s", cgrp_name); in process_event()