Messages in this thread | | | Date | Thu, 23 Jul 2009 15:56:08 -0400 (EDT) | From | Alan Stern <> | Subject | Re: [RFC][PATCH 5/5] perfcounter: Add support for kernel hardware breakpoints |
| |
On Thu, 23 Jul 2009, Peter Zijlstra wrote:
> > Is there a limit to these hardware breakpoints? If so, the software
Certainly there's a limit. They require hardware resources, after all.
> > counter model is not sufficient, since we assume we can always schedule > > all software counters. However if you were to add more counters than you > > have hardware breakpoints you're hosed. > > Do the breakpoints work on virtual or physical addresses?
On x86, hardware breakpoints take virtual addresses. I don't know about other architectures.
Alan Stern
| |