Home
last modified time | relevance | path

Searched refs:nr_members (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/tests/
Dexpand-cgroup.c22 int nr_members; /* for the first evsel only */ in test_expand_events() local
48 nr_members = evlist__first(evlist)->core.nr_members; in test_expand_events()
84 if (evsel->core.nr_members != nr_members) { in test_expand_events()
86 evsel->core.nr_members, nr_members); in test_expand_events()
Dparse-events.c687 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group1()
729 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group2()
787 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group3()
822 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group3()
878 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group4()
921 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group5()
953 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group5()
1007 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group_gh1()
1047 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group_gh2()
1087 TEST_ASSERT_VAL("wrong core.nr_members", evsel->core.nr_members == 2); in test__group_gh3()
[all …]
/kernel/linux/linux-5.10/tools/perf/ui/
Dhist.c49 int nr_members = evsel->core.nr_members; in __hpp__fmt() local
88 idx_delta = nr_members - prev_idx - 1; in __hpp__fmt()
155 hpp_field_fn get_field, int nr_members, in hist_entry__new_pair() argument
158 u64 *fa = calloc(nr_members, sizeof(*fa)), in hist_entry__new_pair()
159 *fb = calloc(nr_members, sizeof(*fb)); in hist_entry__new_pair()
190 int cmp, nr_members, ret, i; in __hpp__group_sort_idx() local
196 nr_members = evsel->core.nr_members; in __hpp__group_sort_idx()
197 if (idx < 1 || idx >= nr_members) in __hpp__group_sort_idx()
200 ret = hist_entry__new_pair(a, b, get_field, nr_members, &fields_a, &fields_b); in __hpp__group_sort_idx()
210 for (i = 1; i < nr_members; i++) { in __hpp__group_sort_idx()
[all …]
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Devsel.h49 int nr_members; member
/kernel/linux/linux-5.10/tools/perf/util/
Devsel_fprintf.c49 if (evsel->core.nr_members > 1) in evsel__fprintf()
56 if (evsel->core.nr_members > 1) in evsel__fprintf()
Dpfm.c95 grp_leader->core.nr_members++; in parse_libpfm_events_option()
Dheader.c787 if (evsel__is_group_leader(evsel) && evsel->core.nr_members > 1) { in write_group_desc()
790 u32 nr_members = evsel->core.nr_members; in write_group_desc() local
800 ret = do_write(ff, &nr_members, sizeof(nr_members)); in write_group_desc()
1987 if (evsel__is_group_leader(evsel) && evsel->core.nr_members > 1) { in print_group_desc()
1990 nr = evsel->core.nr_members - 1; in print_group_desc()
2600 u32 nr_members; in process_group_desc() member
2624 if (do_read_u32(ff, &desc[i].nr_members)) in process_group_desc()
2643 evsel->core.nr_members = desc[i].nr_members; in process_group_desc()
2651 nr = evsel->core.nr_members - 1; in process_group_desc()
Dauxtrace.c80 evsel->core.nr_members <= 1))) in perf_evlist__regroup()
94 if (leader->core.nr_members < 1) in perf_evlist__regroup()
95 leader->core.nr_members = 1; in perf_evlist__regroup()
96 leader->core.nr_members += 1; in perf_evlist__regroup()
1234 new_leader->core.nr_members = leader->core.nr_members - 1; in unleader_evsel()
1235 leader->core.nr_members = 1; in unleader_evsel()
Devsel.h350 return evsel__is_group_leader(evsel) && evsel->core.nr_members > 1; in evsel__is_group_event()
Devlist.c222 leader->core.nr_members = evsel->idx - leader->idx + 1; in __perf_evlist__set_leader()
1719 leader->name, leader->core.nr_members); in perf_evlist__reset_weak_group()
1732 c2->core.nr_members = 0; in perf_evlist__reset_weak_group()
Dstat.c527 if (leader->core.nr_members > 1) in create_perf_stat_counter()
Devsel.c383 evsel->core.nr_members = orig->core.nr_members; in evsel__clone()
1084 if (leader->core.nr_members > 1) { in evsel__config()
1471 if (nr != (u64) leader->core.nr_members) in perf_evsel__process_group_data()
Dannotate.c1202 nr = args->evsel->core.nr_members; in disasm_line__new()
1448 width *= evsel->core.nr_members; in annotation_line__print()
2387 width *= evsel->core.nr_members; in symbol__annotate_printf()
3083 nr_pcnt = evsel->core.nr_members; in symbol__annotate2()
Dstat-display.c378 if (counter->core.nr_members < 2) in is_mixed_hw_group()
Dparse-events.c1720 evsel->core.nr_members = total_members / nr_pmu; in parse_events__set_leader_for_uncore_aliase()
Dhist.c2727 nr_samples, unit, evsel->core.nr_members > 1 ? "s" : "", in __hists__scnprintf_title()
/kernel/linux/linux-5.10/tools/lib/perf/
Devsel.c176 nr = evsel->nr_members; in perf_evsel__read_size()
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
Dannotate.c134 for (i = 0; i < evsel->core.nr_members; i++) { in perf_gtk__annotate_symbol()
Dhists.c648 if (pos->core.nr_members > 1) { in perf_evlist__gtk_browse_hists()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-stat.c251 pos->core.nr_members = 0; in evlist__check_cpu_maps()
253 evsel->leader->core.nr_members = 0; in evlist__check_cpu_maps()
682 !(counter->leader->core.nr_members > 1)) in stat_handle_error()
Dbuiltin-report.c474 evsel->core.nr_members > 1 ? "s" : "", evname); in hists__fprintf_nr_sample_events()
Dbuiltin-script.c1859 if (evsel_script(evsel->leader)->gnum == evsel->leader->core.nr_members) { in perf_sample__fprint_metric()
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
Dhists.c3064 evsel->core.nr_members < 2) { in perf_evsel__hists_browse()
3076 if (symbol_conf.group_sort_idx >= evsel->core.nr_members) { in perf_evsel__hists_browse()
3079 evsel->core.nr_members - 1, in perf_evsel__hists_browse()
3080 evsel->core.nr_members - 1); in perf_evsel__hists_browse()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf.data-file-format.txt233 uint32_t nr_members;