lkml.org 
[lkml]   [2014]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/11] perf: Move cgroup init before PMU ->event_init()
On Wed, Sep 24, 2014 at 03:04:10PM +0100, Matt Fleming wrote:
> +++ b/kernel/events/core.c
> @@ -6859,7 +6859,7 @@ perf_event_alloc(struct perf_event_attr *attr, int cpu,
> struct perf_event *group_leader,
> struct perf_event *parent_event,
> perf_overflow_handler_t overflow_handler,
> - void *context)
> + void *context, bool cgroup, pid_t pid)
> {
> struct pmu *pmu;
> struct perf_event *event;

I don't get this extension, why a bool and pid_t ?


\
 
 \ /
  Last update: 2014-10-07 22:02    [W:0.730 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site