Re: [PATCH 3/6] x86: Allow the user not to build hw_breakpoints

From: Peter Zijlstra
Date: Thu Jul 21 2011 - 08:36:58 EST


On Thu, 2011-07-21 at 09:26 +0200, Ingo Molnar wrote:
> Otherwise we have expressed hw breakpoint APIs via perf events and
> that model is working well.

Its working, maybe, working well is pushing it. The whole breakpoint
muck is a horrid mess, it side-steps all of the resource scheduling
stuff of perf and does it itself.

Now part of that is because ptrace requires it, but whichever way you
look at it its damn ugly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/