Messages in this thread | | | Date | Mon, 5 Nov 2018 10:20:15 -0800 | From | Andi Kleen <> | Subject | Re: [PATCH v1 1/8] perf/x86: add support to mask counters from host |
| |
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
| |