From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH v3] Support CPU-list parsing in xentrace. Date: Fri, 20 Jun 2014 15:33:49 -0400 Message-ID: <1403292831-3143-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: 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.xen.org, ian.campbell@citrix.com, ian.jackson@eu.citrix.com, george.dunlap@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hey George and Ian, Since v2 (http://lists.xen.org/archives/html/xen-devel/2014-06/msg01835.html) I've modified it per the reviews I've received. Hopefully this is the last round of reviews :-) The purpose of these patches is to allow users of xentrace to narrow down a specific CPU without having to figure out a bit mask. 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 expands the -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). You can still use the -c 0x option if you prefer. tools/libxc/xc_tbuf.c | 26 ++++-- tools/libxc/xenctrl.h | 7 ++- tools/xentrace/xentrace.8 | 21 ++++- tools/xentrace/xentrace.c | 221 +++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 244 insertions(+), 31 deletions(-) Konrad Rzeszutek Wilk (2): libxc/xentrace: Replace xc_tbuf_set_cpu_mask with CPU mask with xc_cpumap_t instead of uint32_t xentrace: Implement cpu mask range parsing of human values (-c).