Home
last modified time | relevance | path

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

/tools/perf/util/
Denv.h47 int nr_groups; member
Dheader.c908 u32 nr_groups = evlist->nr_groups; in write_group_desc() local
912 ret = do_write(ff, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2014 u32 i, nr, nr_groups; in process_group_desc() local
2023 if (do_read_u32(ff, &nr_groups)) in process_group_desc()
2026 ff->ph->env.nr_groups = nr_groups; in process_group_desc()
2027 if (!nr_groups) { in process_group_desc()
2032 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2036 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2052 session->evlist->nr_groups = nr_groups; in process_group_desc()
2065 if (i >= nr_groups || nr > 0) { in process_group_desc()
[all …]
Dparse-events.h118 int nr_groups; member
Devlist.h80 int nr_groups; member
Dparse-events.y40 parse_state->nr_groups++; in inc_group_count()
Dparse-events.c1715 evlist->nr_groups += parse_state.nr_groups; in parse_events()
Devlist.c226 evlist->nr_groups = evlist->nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader()
/tools/perf/tests/
Dbpf.c159 evlist->nr_groups = parse_state.nr_groups; in do_test()
Dparse-events.c27 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint()
40 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi()
617 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1()
659 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2()
714 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3()
806 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4()
850 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5()
936 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1()
976 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2()
1016 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3()
[all …]
/tools/perf/
Dbuiltin-record.c957 if (!rec->evlist->nr_groups) in __cmd_record()