Revert "perf: Disable PERF_RECORD_MMAP2 support"
authorDon Zickus <dzickus@redhat.com>
Fri, 30 May 2014 14:49:42 +0000 (10:49 -0400)
committerJiri Olsa <jolsa@kernel.org>
Mon, 9 Jun 2014 11:34:46 +0000 (13:34 +0200)
commita5a5ba72843dd05f991184d6cb9a4471acce1005
treede974e4ab2d80e120d76ce1bb0cce1b83aa87500
parent7ef807034ef33f8afe33fa7957c73954e8e4f89c
Revert "perf: Disable PERF_RECORD_MMAP2 support"

This reverts commit 3090ffb5a2515990182f3f55b0688a7817325488.

Re-enable the mmap2 interface as we will have a user soon.

Since things have changed since perf disabled mmap2, small tweaks
to the revert had to be done:

o commit 9d4ecc88 forced (n!=8) to become (n<7)
o a new libunwind test needed updating to use mmap2 interface

Signed-off-by: Don Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/1401461382-209586-1-git-send-email-dzickus@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
kernel/events/core.c
tools/perf/tests/dwarf-unwind.c
tools/perf/util/event.c
tools/perf/util/evsel.c