From: Borislav Petkov <bp@amd64.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Borislav Petkov <bp@amd64.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Frederic Weisbecker <fweisbec@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH] perf: Carve out cgroup-related code
Date: Thu, 12 May 2011 12:54:21 +0200 [thread overview]
Message-ID: <20110512105421.GC17731@aftab> (raw)
In-Reply-To: <20110512103644.GH9937@elte.hu>
On Thu, May 12, 2011 at 06:36:44AM -0400, Ingo Molnar wrote:
>
> * Borislav Petkov <bp@amd64.org> wrote:
>
> > Done, patch below. I've moved all exports local to kernel/events/* to
> > internal.h. Branch at
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git perf-split
>
> Beyond the things Peter noticed, there's also this new bit in perf_event.h:
>
> enum event_type_t {
> EVENT_FLEXIBLE = 0x1,
> EVENT_PINNED = 0x2,
> EVENT_ALL = EVENT_FLEXIBLE | EVENT_PINNED,
> };
>
> this got there from core.c, albeit it's only core.c that uses it.
>
> If then this should move to internal.h - or stay local to core.c.
event_type_t gets pulled by pushing
ctx_sched_out(..., enum event_type_t event_type)
up into the header since otherwise gcc complains of not seeing the
definition of the third argument.
And yes, it should go to internal.h.
Thanks.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2011-05-12 10:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 12:11 [RFC PATCH] perf: Carve out cgroup-related code Borislav Petkov
2011-05-11 13:46 ` Peter Zijlstra
2011-05-11 14:00 ` Ingo Molnar
2011-05-11 14:02 ` Borislav Petkov
2011-05-11 14:13 ` Ingo Molnar
2011-05-11 14:31 ` Borislav Petkov
2011-05-11 15:21 ` Ingo Molnar
2011-05-11 17:09 ` Borislav Petkov
2011-05-12 8:51 ` Peter Zijlstra
2011-05-12 8:54 ` Peter Zijlstra
2011-05-12 10:18 ` Borislav Petkov
2011-05-12 14:31 ` Frederic Weisbecker
2011-05-12 15:13 ` Lin Ming
2011-05-14 8:44 ` Borislav Petkov
2011-05-14 13:02 ` Frederic Weisbecker
2011-05-12 10:36 ` Ingo Molnar
2011-05-12 10:54 ` Borislav Petkov [this message]
2011-05-12 11:03 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110512105421.GC17731@aftab \
--to=bp@amd64.org \
--cc=a.p.zijlstra@chello.nl \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox