[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110511133340.GB1846@nowhere>
Date: Wed, 11 May 2011 15:33:43 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Borislav Petkov <bp@...64.org>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>,
Borislav Petkov <borislav.petkov@....com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 1/2] perf: Carve out cgroup-related code
(Adding Stephane in Cc)
On Wed, May 11, 2011 at 03:16:55PM +0200, Borislav Petkov wrote:
> From: Borislav Petkov <borislav.petkov@....com>
>
> Move cgroup perf support into a different compilation module -
> kernel/events/cgroup.c - thus slimming perf_event.c some more.
>
> While at it,
>
> * push some oneliners into perf_event.h now that they're used in
> multiple .c files.
>
> * drop is_cgroup_event() check for perf_cgroup_defer_enabled() at its
> callsite in __perf_event_enable since the latter does the check anyway.
>
> No functional change.
>
> Signed-off-by: Borislav Petkov <borislav.petkov@....com>
BTW, before you do it yourself, I have a patch pending that splits the buffer
part from the core.
Just to avoid effort duplicates... :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists