Re: [RFC][PATCH 5/5] perfcounter: Add support for kernel hardwarebreakpoints

From: Peter Zijlstra
Date: Tue Jul 28 2009 - 03:22:17 EST


On Tue, 2009-07-28 at 03:03 +0200, Frederic Weisbecker wrote:
> > Thirdly, we can multiplex perf counters beyond their hardware maximum,
> > something you simply cannot do for a debug interface.
>
>
> Again, I'm stuck in what you mean by multiplexing here :-)

If you'd create say 16 breakpoint counters, we'd RR them over the 4
available hardware breakpoints (or less when others are taken by someone
else).

Since its all statistics anyway, we can simply scale the event counts up
by the time-share they received.

--
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/