libperf: Move 'nr_groups' from tools/perf to evlist::nr_groups
authorJiri Olsa <jolsa@redhat.com>
Tue, 6 Jul 2021 15:17:01 +0000 (17:17 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 9 Jul 2021 17:04:32 +0000 (14:04 -0300)
commit3a683120d88586056c0f6728b11da895bbd773a3
tree2b7abf84fb8602ea7bd0b8103423556eaba5eb8c
parentfba7c86601e2e42d7057db47bf6d45865a208b8c
libperf: Move 'nr_groups' from tools/perf to evlist::nr_groups

Move evsel::nr_groups to perf_evsel::nr_groups, so we can move the group
interface to libperf.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Requested-by: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210706151704.73662-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/include/internal/evlist.h
tools/perf/builtin-record.c
tools/perf/builtin-report.c
tools/perf/tests/bpf.c
tools/perf/tests/parse-events.c
tools/perf/tests/pfm.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/header.c
tools/perf/util/parse-events.c
tools/perf/util/pfm.c