libperf: Add perf_evlist and perf_evsel structs
authorJiri Olsa <jolsa@kernel.org>
Sun, 21 Jul 2019 11:24:21 +0000 (13:24 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Jul 2019 21:34:44 +0000 (18:34 -0300)
commit285a30c36d1e18e7e2afa24dae50ba5596be45e7
treefb02711e7ddc5186aad3ac9d95c4ebe788970a29
parent7836e52e518b5e3fd695850f1d4081f756f58406
libperf: Add perf_evlist and perf_evsel structs

Add the perf_evlist and perf_evsel structs to libperf.

It's added as a declarations into:

  include/perf/evlist.h
  include/perf/evsel.h

which will be included by users.

The definitions are added into:

  include/internal/evlist.h
  include/internal/evsel.h

which is not to be included by users, but shared
within perf and libperf.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190721112506.12306-35-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/Build
tools/perf/lib/evlist.c [new file with mode: 0644]
tools/perf/lib/evsel.c [new file with mode: 0644]
tools/perf/lib/include/internal/evlist.h [new file with mode: 0644]
tools/perf/lib/include/internal/evsel.h [new file with mode: 0644]
tools/perf/lib/include/perf/evlist.h [new file with mode: 0644]
tools/perf/lib/include/perf/evsel.h [new file with mode: 0644]