Re: [PATCH v1 1/8] perf/x86: add support to mask counters from host

Andi Kleen
2018-11-05T18:20:15Z

I ran into a similar problem with my PEBS virtualization patchkit.

My solution was: basically schedule as normal, but tell the scheduler to
force allocate a counter on a specific index. It can be done
only with a few lines of change in the scheduler code.

-Andi