From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH v1] Misc fixes to xentrace, docs, and add code to support selective human CPU selection. Date: Wed, 4 Jun 2014 09:44:26 -0400 Message-ID: <1401889471-1174-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WsBUh-0003Qb-60 for xen-devel@lists.xenproject.org; Wed, 04 Jun 2014 13:44:43 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org, george.dunlap@eu.citrix.com, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hey George, These patches add a bit of code to allow users of xentrace to narrow down a specific CPU without having to figure out a bit mask. Also they fix the limitation of the bit mask which is it can only do up to 32-bits - which on large machines (say 120CPUs), you can't selectively trace anything past 32CPUs. The code adds an -C parameter where you can do -C - or -C , or a combination of them. This along with 'xl vcpu-list' makes it extremely easy to trace a specific guest (if pinned). Thank you tools/libxc/xc_bitops.h | 2 + tools/libxc/xc_tbuf.c | 44 +++++++++- tools/libxc/xenctrl.h | 1 + tools/xentrace/xentrace.8 | 26 +++++- tools/xentrace/xentrace.c | 205 ++++++++++++++++++++++++++++++++++++++++++---- 5 files changed, 257 insertions(+), 21 deletions(-) Konrad Rzeszutek Wilk (5): docs: xentrace manpage libxc/trace: Add xc_tbuf_set_cpu_mask_array a variant of xc_tbuf_set_cpu_mask (v3) libxc/trace: Fix style xentrace: Use xc_cpumask_t when setting the cpu mask (v4) xentrace: Implement cpu mask range parsing of human values (-C).