Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/tools/lib/perf/include/internal/
Devsel.h55 int nr_members; member
/linux-6.1.9/tools/perf/util/
Devsel_fprintf.c50 if (evsel->core.nr_members > 1) in evsel__fprintf()
57 if (evsel->core.nr_members > 1) in evsel__fprintf()
Devlist-hybrid.c67 evsel->core.nr_members > 1 && in evlist__warn_hybrid_group()
Dpfm.c104 grp_leader->core.nr_members++; in parse_libpfm_events_option()
Dheader.c791 if (evsel__is_group_leader(evsel) && evsel->core.nr_members > 1) { in write_group_desc()
794 u32 nr_members = evsel->core.nr_members; in write_group_desc() local
804 ret = do_write(ff, &nr_members, sizeof(nr_members)); in write_group_desc()
2157 if (evsel__is_group_leader(evsel) && evsel->core.nr_members > 1) { in print_group_desc()
2160 nr = evsel->core.nr_members - 1; in print_group_desc()
2769 u32 nr_members; in process_group_desc() member
2793 if (do_read_u32(ff, &desc[i].nr_members)) in process_group_desc()
2812 evsel->core.nr_members = desc[i].nr_members; in process_group_desc()
2820 nr = evsel->core.nr_members - 1; in process_group_desc()
Dauxtrace.c80 evsel->core.nr_members <= 1))) in evlist__regroup()
94 if (leader->core.nr_members < 1) in evlist__regroup()
95 leader->core.nr_members = 1; in evlist__regroup()
96 leader->core.nr_members += 1; in evlist__regroup()
1282 new_leader->core.nr_members = leader->core.nr_members - 1; in unleader_evsel()
1283 leader->core.nr_members = 1; in unleader_evsel()
Devsel.c415 evsel->core.nr_members = orig->core.nr_members; in evsel__clone()
1182 if (leader->core.nr_members > 1) { in evsel__config()
1571 if (nr != (u64) leader->core.nr_members) in evsel__process_group_data()
3183 evsel->core.nr_members = 0; in evsel__remove_from_group()
3184 leader->core.nr_members--; in evsel__remove_from_group()
Devlist.c1790 leader->name, leader->core.nr_members); in evlist__reset_weak_group()
1817 if (leader->core.nr_members == 1) in evlist__reset_weak_group()
1818 leader->core.nr_members = 0; in evlist__reset_weak_group()
2445 pos->core.nr_members = 0; in evlist__check_mem_load_aux()
Devsel.h423 return evsel__is_group_leader(evsel) && evsel->core.nr_members > 1; in evsel__is_group_event()
Dstat.c554 if (leader->core.nr_members > 1) in create_perf_stat_counter()
Dbpf_counter.c385 if (evsel->core.leader->nr_members > 1) { in bperf_check_target()
Dannotate.c1213 nr = args->evsel->core.nr_members; in disasm_line__new()
1468 width *= evsel->core.nr_members; in annotation_line__print()
2434 width *= evsel->core.nr_members; in symbol__annotate_printf()
3160 nr_pcnt = evsel->core.nr_members; in symbol__annotate2()
Dstat-display.c519 if (counter->core.nr_members < 2) in is_mixed_hw_group()
/linux-6.1.9/tools/perf/ui/gtk/
Dannotate.c134 for (i = 0; i < evsel->core.nr_members; i++) { in perf_gtk__annotate_symbol()
Dhists.c646 if (pos->core.nr_members > 1) { in evlist__gtk_browse_hists()
/linux-6.1.9/tools/lib/perf/tests/
Dtest-evsel.c246 leader->nr_members = 2; in test_stat_read_format_group()
/linux-6.1.9/tools/lib/perf/
Devsel.c312 nr = evsel->nr_members; in perf_evsel__read_size()
Devlist.c695 leader->nr_members = last->idx - first->idx + 1; in __perf_evlist__set_leader()
/linux-6.1.9/tools/perf/ui/browsers/
Dhists.c3061 evsel->core.nr_members < 2) { in evsel__hists_browse()
3073 if (symbol_conf.group_sort_idx >= evsel->core.nr_members) { in evsel__hists_browse()
3076 evsel->core.nr_members - 1, in evsel__hists_browse()
3077 evsel->core.nr_members - 1); in evsel__hists_browse()
/linux-6.1.9/tools/perf/Documentation/
Dperf.data-file-format.txt233 uint32_t nr_members;
/linux-6.1.9/tools/perf/
Dbuiltin-report.c503 evsel->core.nr_members > 1 ? "s" : "", evname); in hists__fprintf_nr_sample_events()
Dbuiltin-stat.c707 !(counter->core.leader->nr_members > 1)) in stat_handle_error()

12