From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/4] Enable drilldown for kvm_exit reasons Date: Thu, 17 Feb 2011 14:42:46 +0200 Message-ID: <1297946570-477-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37043 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753705Ab1BQMnD (ORCPT ); Thu, 17 Feb 2011 07:43:03 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1HCh3CQ027053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 17 Feb 2011 07:43:03 -0500 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p1HCh2nb006353 for ; Thu, 17 Feb 2011 07:43:02 -0500 Sender: kvm-owner@vger.kernel.org List-ID: kvm_stat currently tracks both tracepoints, and also kvm_exit by exit reason. This is somewhat cluttered and also very expensive with the current kernel filter implementation. Make drilldown optional by adding a key to trigger it. Avi Kivity (4): kvm_stat: move groups and events into well defined objects kvm_stat: add wrappers for perf_event enable and disable ioctls kvm_stat: allow enabling/disabling events dynamicalls kvm_stat: add 'x' key for enabling/disabling "drilldown" kvm/kvm_stat | 149 ++++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 103 insertions(+), 46 deletions(-)