lkml.org 
[lkml]   [2011]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@amd.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@amd.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... :)


\
 
 \ /
  Last update: 2011-05-11 18:29    [W:0.049 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site