On Thu, May 21, 2015 at 06:18:15AM -0700, Stephane Eranian wrote: > Yes, it does modify the cpuc->event_list[]->hwc, because it is used as a > cache for *EACH* invocation of the function. It is irrelevant outside the > function.
Yes, but the problem is that they _nest_.
So you get to use the one from the nested call in the outer call.