xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] Misc fixes to xentrace, docs, and add code to support selective human CPU selection.
@ 2014-06-04 13:44 Konrad Rzeszutek Wilk
  2014-06-04 13:44 ` [PATCH v1 1/5] docs: xentrace manpage Konrad Rzeszutek Wilk
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-06-04 13:44 UTC (permalink / raw)
  To: xen-devel, george.dunlap, ian.jackson, stefano.stabellini,
	ian.campbell

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 <starting cpu>-<end cpu>
or -C <cpu1>,<cpu2> 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).

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-06-13 19:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 13:44 [PATCH v1] Misc fixes to xentrace, docs, and add code to support selective human CPU selection Konrad Rzeszutek Wilk
2014-06-04 13:44 ` [PATCH v1 1/5] docs: xentrace manpage Konrad Rzeszutek Wilk
2014-06-04 16:25   ` George Dunlap
2014-06-05 13:31     ` Ian Campbell
2014-06-04 13:44 ` [PATCH v1 2/5] libxc/trace: Add xc_tbuf_set_cpu_mask_array a variant of xc_tbuf_set_cpu_mask (v3) Konrad Rzeszutek Wilk
2014-06-04 16:45   ` George Dunlap
2014-06-04 16:52     ` George Dunlap
2014-06-13 17:52       ` Konrad Rzeszutek Wilk
2014-06-05 12:49   ` Ian Campbell
2014-06-13 18:30     ` Konrad Rzeszutek Wilk
2014-06-04 13:44 ` [PATCH v1 3/5] libxc/trace: Fix style Konrad Rzeszutek Wilk
2014-06-04 16:46   ` George Dunlap
2014-06-04 13:44 ` [PATCH v1 4/5] xentrace: Use xc_cpumask_t when setting the cpu mask (v4) Konrad Rzeszutek Wilk
2014-06-04 17:01   ` George Dunlap
2014-06-05 12:55     ` Ian Campbell
2014-06-04 13:44 ` [PATCH v1 5/5] xentrace: Implement cpu mask range parsing of human values (-C) Konrad Rzeszutek Wilk
2014-06-04 17:18   ` George Dunlap
2014-06-13 19:57     ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).