Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/util/
Dheader.c1086 u32 nr_groups = evlist->nr_groups; in write_group_desc() local
1090 ret = do_write(fd, &nr_groups, sizeof(nr_groups)); in write_group_desc()
2027 u32 i, nr, nr_groups; in process_group_desc() local
2036 if (readn(fd, &nr_groups, sizeof(nr_groups)) != sizeof(nr_groups)) in process_group_desc()
2040 nr_groups = bswap_32(nr_groups); in process_group_desc()
2042 ph->env.nr_groups = nr_groups; in process_group_desc()
2043 if (!nr_groups) { in process_group_desc()
2048 desc = calloc(nr_groups, sizeof(*desc)); in process_group_desc()
2052 for (i = 0; i < nr_groups; i++) { in process_group_desc()
2073 session->evlist->nr_groups = nr_groups; in process_group_desc()
[all …]
Dparse-events.h68 int nr_groups; member
Dheader.h89 int nr_groups; member
Devlist.h31 int nr_groups; member
Dparse-events.y37 data->nr_groups++; in inc_group_count()
Dparse-events.c931 evlist->nr_groups += data.nr_groups; in parse_events()
Devlist.c140 evlist->nr_groups = evlist->nr_entries > 1 ? 1 : 0; in perf_evlist__set_leader()
Dparse-events-bison.c109 data->nr_groups++; in inc_group_count()
/external/linux-tools-perf/src/tools/perf/tests/
Dparse-events.c18 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint()
31 TEST_ASSERT_VAL("wrong number of groups", 0 == evlist->nr_groups); in test__checkevent_tracepoint_multi()
508 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group1()
550 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group2()
605 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group3()
697 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group4()
741 TEST_ASSERT_VAL("wrong number of groups", 2 == evlist->nr_groups); in test__group5()
827 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh1()
867 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh2()
907 TEST_ASSERT_VAL("wrong number of groups", 1 == evlist->nr_groups); in test__group_gh3()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-record.c438 if (!evsel_list->nr_groups) in __cmd_record()