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

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

Committer notes:

Add linux/compiler.h as we need it for '__aligned'.

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-18-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/include/internal/mmap.h
tools/perf/util/mmap.c
tools/perf/util/mmap.h