lkml.org 
[lkml]   [2011]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/6] x86: Allow the user not to build hw_breakpoints

* H. Peter Anvin <hpa@zytor.com> wrote:

> On 07/14/2011 08:03 AM, Frederic Weisbecker wrote:
> > So that hw_breakpoints and perf can be not built on
> > specific embedded systems.
>
> I want to emphasize I am very, very unhappy about this. It should
> be possible to not build perf while still have breakpoints
> available... breakpoints are way more important than perf.

What we could indeed do is to separate out a 'core perf' portion that
is necessary for hw-breakpoints to work fine, thus allowing for
example the PMU drivers to be disabled.

Otherwise we have expressed hw breakpoint APIs via perf events and
that model is working well. Making hw-breakpoints a separate
subsystem again with isolated (and partly duplicated) infrastructure
would be a step back really.

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-07-21 09:29    [W:0.343 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site