On 08/25/2011 07:19 AM, stephane eranian wrote: > Hi, > > Sorry for late reply. > > The current support for mmaped count is broken on perf_event x86. > It simply does not work. I think it only works on PPC at this point.
Just as an aside, you can access the counter registers from user space on Power (aka PPC) machines, but because the kernel is free to schedule the events onto whatever counters that meet the resource constraints, it's not at all clear which hardware counter to read from user space, and in fact, with event rotation, the counter being used can change from one system tick till the next. If you program a single event, you can be guaranteed that it won't move around, but you still will have to guess or somehow determine which hardware counter is being used by the kernel. - Corey ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel