> As with my earlier comments, I don't think these can be grouped with > events (not even from the same PMU given their free-running nature).
Mark, we already went through this last time. There is nothing stopping handling free running counters as part of other groups. A perf event logically has a 64bit counter that accumulates counts from a less wide hardware counter. A free running counter just has to be sampled at the beginning and at the end of the measurement period, and the difference between the two values added to the perf counter. To handle CPU switches the counter is just sampled, and accumulated into the software counter, before switching to another CPU. Then you start the next measurement period with a sample from the new CPU etc. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

