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>
Showing
- tools/perf/lib/include/internal/mmap.h 3 additions, 0 deletionstools/perf/lib/include/internal/mmap.h
- tools/perf/util/evlist.c 1 addition, 1 deletiontools/perf/util/evlist.c
- tools/perf/util/mmap.c 9 additions, 9 deletionstools/perf/util/mmap.c
- tools/perf/util/mmap.h 0 additions, 1 deletiontools/perf/util/mmap.h
Please register or sign in to comment