lkml.org 
[lkml]   [2009]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardware Breakpoint requests
On Fri, Aug 21, 2009 at 04:28:11PM +0200, Ingo Molnar wrote:
>
> * K.Prasad <prasad@linux.vnet.ibm.com> wrote:
>
> > > Providing those would let us build a pmu struct on top of this
> > > high level API, hopefully.
>
> Note that there's a PMU struct already in
> arch/x86/kernel/cpu/perf_counter.c. Could debug-register ops be
> tacked on to it?



No, we don't need to build an arch level pmu since the BP api
already handles the arch abstraction (or well, it is planned to).

Instead, what we need is a core pmu that relies on the BP api.
Such pmu will be allocated dynamically while creating a hardware
breakpoint counter.



\
 
 \ /
  Last update: 2009-08-26 05:39    [W:0.185 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site