OSDN Git Service

libperf: Add 'struct perf_mmap_param'
authorJiri Olsa <jolsa@kernel.org>
Mon, 7 Oct 2019 12:53:10 +0000 (14:53 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Oct 2019 12:40:00 +0000 (09:40 -0300)
commite440979faf6ac8048e1792af383df6af78dd1cb0
treede71687f93ffcca4115986d57b9d9dc78409b8ab
parent353120b48d4f61288e4745b0c8a191784b11c0f4
libperf: Add 'struct perf_mmap_param'

Add libperf's version of mmap params 'struct perf_mmap_param' object
with the basics: 'prot' and 'mask'.  Encapsulate it in the current
'struct mmap_params' object.

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 <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20191007125344.14268-3-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