Messages in this thread | | | Date | Thu, 16 Apr 2015 23:23:42 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups |
| |
> From my PoV that makes sense. One is CPU-affine, the other is not, and > the two cannot be scheduled in the same PMU transaction by the nature of > the hardware. Fundamentally, you cannot provide group semantics due to > this.
Actually you can. Just use it like a free running counter, and the different groups sample it. This will work from the different CPUs, as long as the event is the same everywhere.
The implemention may not be quite right yet, but the basic concept should work, and is useful.
-Andi
| |