Received: from eggs.gnu.org ([2001:4830:134:3::10]:50122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4qLg-0007PC-04 for qemu-devel@nongnu.org; Mon, 23 May 2016 09:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4qLZ-00047t-VL for qemu-devel@nongnu.org; Mon, 23 May 2016 09:56:46 -0400 References: <1463733756-2149-1-git-send-email-lvivier@redhat.com> <6747dc66-ec28-9092-9160-afecc33ccc99@redhat.com> From: Laurent Vivier Message-ID: <4685d7e6-3323-092c-6df4-67a65fa49fef@redhat.com> Date: Mon, 23 May 2016 15:56:37 +0200 MIME-Version: 1.0 In-Reply-To: <6747dc66-ec28-9092-9160-afecc33ccc99@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] scripts/kvm/kvm_stat: fix tracepoint provider List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: Janosch Frank , qemu-ppc@nongnu.org On 23/05/2016 15:51, Paolo Bonzini wrote: > > > On 20/05/2016 10:42, Laurent Vivier wrote: >> tracepoint provider on ppc is broken since: >> >> fc116ef kvm_stat: Add RESET support for perf event ioctl >> >> because the value used with ioctl() to reset the event queue is >> not valid on ppc. >> >> This patch defines the good value for ppc. >> >> Signed-off-by: Laurent Vivier >> --- >> scripts/kvm/kvm_stat | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat >> index 78ffe83..c547c9b 100755 >> --- a/scripts/kvm/kvm_stat >> +++ b/scripts/kvm/kvm_stat >> @@ -256,6 +256,7 @@ class ArchPPC(Arch): >> self.ioctl_numbers = IOCTL_NUMBERS >> self.ioctl_numbers['ENABLE'] = 0x20002400 >> self.ioctl_numbers['DISABLE'] = 0x20002401 >> + self.ioctl_numbers['RESET'] = 0x20002403 >> >> # PPC comes in 32 and 64 bit and some generated ioctl >> # numbers depend on the wordsize. >> > > I've queued http://permalink.gmane.org/gmane.comp.emulators.qemu/407322 > - however, note that kvm_stat is moving to the kernel tree. Thanks, that's fine. Laurent