Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444644
| From | Mathieu Poirier <mathieu.poirier@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] perf/core: enabling mapping of the stop filters |
| Date | 2016-07-16 00:30 +0200 |
| Message-ID | <rVjMm-47e-11@gated-at.bofh.it> (permalink) |
| References | <rVjMm-47e-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
At this time function perf_addr_filter_needs_mmap() will _not_
return true on a user space 'stop' filter. But stop filters
needs exactly the same kind of mapping that range and start
filters get.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
kernel/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index b9aa8f0ff070..b0bf00c728c2 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -6498,7 +6498,7 @@ got_name:
*/
static bool perf_addr_filter_needs_mmap(struct perf_addr_filter *filter)
{
- return filter->filter && filter->inode;
+ return filter->inode;
}
/*
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 3/3] perf/core: enabling mapping of the stop filters Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-07-16 00:30 +0200 Re: [PATCH 3/3] perf/core: enabling mapping of the stop filters Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2016-07-18 13:40 +0200
csiph-web