Home
last modified time | relevance | path

Searched refs:nr_groups (Results 1 – 10 of 10) sorted by relevance

/tools/perf/util/
Denv.h59 int nr_groups; member
Dheader.c777 u32 nr_groups = evlist->nr_groups; in write_group_desc() local
781 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2425 u32 i, nr, nr_groups; in process_group_desc() local
2434 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2437 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2438 if (!nr_groups) { in process_group_desc()
2443 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2447 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2463 session->evlist->nr_groups = nr_groups; in process_group_desc()
2476 if (i >= nr_groups || nr > 0) { in process_group_desc()
[all …]
Dparse-events.h121 int nr_groups; member
Devlist.h53 int nr_groups; member
Dparse-events.c1520 parse_state->nr_groups--; in parse_events__set_leader_for_uncore_aliase()
1551 parse_state->nr_groups += nr_pmu - 1; in parse_events__set_leader_for_uncore_aliase()
1950 evlist->nr_groups += parse_state.nr_groups; in parse_events()
Dparse-events.y40 parse_state->nr_groups++; in inc_group_count()
Devlist.c206 evlist->nr_groups = evlist->core.nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader()
1640 if (!evlist->nr_groups) { in perf_evlist__force_leader()
/tools/perf/tests/
Dbpf.c161 evlist->nr_groups = parse_state.nr_groups; in do_test()
Dparse-events.c52 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint()
65 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi()
642 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1()
684 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2()
739 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3()
831 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4()
875 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5()
961 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1()
1001 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2()
1041 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3()
[all …]
/tools/perf/
Dbuiltin-record.c1436 if (!rec->evlist->nr_groups) in __cmd_record()