From: "stephane eranian" <eranian@googlemail.com>
To: "Andi Kleen" <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org,
"Andrew Morton" <akpm@linux-foundation.org>,
"Ingo Molnar" <mingo@elte.hu>,
tglx@linutronix.de
Subject: Re: [PATCH] perfmon: add context switch hooks for x86
Date: Wed, 7 May 2008 16:24:49 +0200 [thread overview]
Message-ID: <7c86c4470805070724v793fbdcamf18579308a183a9d@mail.gmail.com> (raw)
In-Reply-To: <4821BA06.9020704@firstfloor.org>
Andi,
It would be much bigger because it would pull in a bunch of generic
and model-specific
data structures and code.
To context switch, you need to know what the registers are, thus you
need the PMU
mapping table, which is implemented by a kernel module, so it needs
its registration
framework....
On Wed, May 7, 2008 at 4:17 PM, Andi Kleen <andi@firstfloor.org> wrote:
> stephane eranian wrote:
> > Hello,
> >
> >
> > Here is a first perfmon patch. It provides the following:
> >
> > - minimal perfmon source tree layout with a topdir perfmon for
> > generic code and
> > the x86 arch specific subdir in arch/x86.
>
> How much larger would a patch be that does at least something minimally
> useful? (like context switching the performance registers)
>
> -Andi
>
next prev parent reply other threads:[~2008-05-07 14:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 8:33 stephane eranian
2008-05-07 14:17 ` Andi Kleen
2008-05-07 14:24 ` stephane eranian [this message]
2008-05-07 14:31 ` Andi Kleen
2008-05-08 16:42 ` stephane eranian
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=7c86c4470805070724v793fbdcamf18579308a183a9d@mail.gmail.com \
--to=eranian@googlemail.com \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®