perf_evlist__nr_groups
LIBPERF_API int perf_evlist__nr_groups(struct perf_evlist *evlist);
return perf_evlist__nr_groups(&evlist->core);