lkml.org 
[lkml]   [2008]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perfmon: add context switch hooks for x86
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
>


\
 
 \ /
  Last update: 2008-05-07 16:27    [W:0.054 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site