Re: [PATCH 05/10] perf, tools, stat: Basic support for TopDown in perf stat

Andi Kleen
2015-12-17T14:04:00Z

> >> This is x86 specific. Why not just try it out and in case of error
> >> suggest checking
> >> if pinned system-wide events exist (such as NMI watchdog on x86). that would
> >> be more generic.
> >
> > That's really complicated, i would have to tear down all state and then
> > resubmit all the events. I think just checking the NMI watchdog is good
> > enough. I couldn't give a sensible error message for the generic case
> > anyways.
> >
> What about that fancy error reporting extension that was proposed a few months
> back? It could help print a sensible error msg. Did it ever make it in?

AFAIK it's not in. Also even the extended error wouldn't know who
installed a pinned counter.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.