perf/core: Enable mapping of the stop filters
authorMathieu Poirier <[email protected]>
Mon, 18 Jul 2016 16:43:07 +0000 (10:43 -0600)
committerIngo Molnar <[email protected]>
Thu, 18 Aug 2016 08:35:51 +0000 (10:35 +0200)
commit99f5bc9bfa9094e7c264a8e09f9507b391a3d1d1
tree4ba1adeee15c9f106a567abdf6fda53f357844cf
parent12b40a2393719a37ff86a0b43bece6d28a75cbfc
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/core.c