[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181105182015.GP6218@tassilo.jf.intel.com>
Date: Mon, 5 Nov 2018 10:20:15 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: "Wang, Wei W" <wei.w.wang@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"pbonzini@...hat.com" <pbonzini@...hat.com>,
"mingo@...hat.com" <mingo@...hat.com>,
"rkrcmar@...hat.com" <rkrcmar@...hat.com>,
"Xu, Like" <like.xu@...el.com>
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
Powered by blists - more mailing lists