Messages in this thread | | | Date | Tue, 4 Jun 2013 10:20:42 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH 16/16] perf, persistent: Allow multiple users for an event |
| |
On Mon, Jun 03, 2013 at 03:49:25PM +0200, Jiri Olsa wrote: > maybe check for valid cpu, since perf_get_persistent_event_fd is > called directly from syscall allowing anything in cpu
That should be fine - we're traversing a per-cpu list of events there.
> (unrelated to this patch, but I couldn't find the original > patch that adds perf_get_persistent_event_fd)
Try this:
http://git.kernel.org/cgit/linux/kernel/git/bp/bp.git/log/?h=persistent5.1
:-)
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |