]> git.baikalelectronics.ru Git - kernel.git/commit
perf/core: Enable mapping of the stop filters
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 18 Jul 2016 16:43:07 +0000 (10:43 -0600)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Aug 2016 08:35:51 +0000 (10:35 +0200)
commit0af01f0a7fda3f9874392137958be9a78f5890f9
tree4ba1adeee15c9f106a567abdf6fda53f357844cf
parent658eaf8ff35c5651820df8890e31e903a20f6155
perf/core: Enable mapping of the stop filters

At this time the perf_addr_filter_needs_mmap() function will _not_
return true on a user space 'stop' filter.  But stop filters need
exactly the same kind of mapping that range and start filters get.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1468860187-318-4-git-send-email-mathieu.poirier@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c