libperf: Add 'refcnt' to struct perf_mmap
authorJiri Olsa <jolsa@kernel.org>
Sat, 27 Jul 2019 20:35:35 +0000 (22:35 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 12:51:46 +0000 (09:51 -0300)
commite03edfeac0330eaa2b19b82fc942611c1abf2120
tree4a6c337f2b3a00d28c6ef21ff5f74cf1196bb3b0
parent56a94706cd7233b158ab13e5ac93f5a97ca88941
libperf: Add 'refcnt' to struct perf_mmap

Move 'refcnt' from tools/perf's mmap to libperf's perf_mmap struct.

Committer notes:

Add the refcount.h include directive here, now it is needed.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lore.kernel.org/lkml/20190913132355.21634-15-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/include/internal/mmap.h
tools/perf/util/evlist.c
tools/perf/util/mmap.c
tools/perf/util/mmap.h