This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [GIT PULL] xen: replace adhoc debug goo with proper tracing

To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [GIT PULL] xen: replace adhoc debug goo with proper tracing
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 22 Jul 2011 15:17:34 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Sat, 23 Jul 2011 17:20:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110621 Fedora/3.1.11-1.fc15 Lightning/1.0b3pre Thunderbird/3.1.11
Hi Linus,

This replaces a pile of ad-hoc debug stuff in the Xen code with tracing, and a 
few performance improvements noticed as a result.


The following changes since commit fe0d42203cb5616eeff68b14576a0f7e2dd56625:

  Linux 3.0-rc6 (2011-07-04 15:56:24 -0700)

are available in the git repository at:

Jeremy Fitzhardinge (17):
      trace/xen: add skeleton for Xen trace events
      xen/multicalls: remove debugfs stats
      xen/trace: set up tracepoint skeleton
      xen/trace: add multicall tracing
      xen/trace: add mmu tracepoints
      xen/trace: add ptpage alloc/release tracepoints
      xen/trace: add xen_pgd_(un)pin tracepoints
      xen/trace: add segment desc tracing
      xen/trace: add tlb flush tracepoints
      xen/mmu: use extend_args for more mmuext updates
      xen/mmu: tune pgtable alloc/release
      xen/multicalls: disable MC_DEBUG
      xen/multicalls: add unlikely around slowpath in __xen_mc_entry()
      xen/multicall: special-case singleton hypercalls
      xen/multicall: move *idx fields to start of mc_buffer
      xen/trace: convert mmu events to use DECLARE_EVENT_CLASS()/DEFINE_EVENT()
      xen/trace: use class for multicall trace

 arch/x86/include/asm/xen/hypercall.h   |   22 ++
 arch/x86/include/asm/xen/trace_types.h |   18 ++
 arch/x86/xen/Makefile                  |    2 +-
 arch/x86/xen/enlighten.c               |   16 +-
 arch/x86/xen/mmu.c                     |  139 +++++++--
 arch/x86/xen/multicalls.c              |  169 +++--------
 arch/x86/xen/multicalls.h              |    6 +
 arch/x86/xen/trace.c                   |   61 ++++
 include/trace/events/xen.h             |  504 ++++++++++++++++++++++++++++++++
 9 files changed, 787 insertions(+), 150 deletions(-)
 create mode 100644 arch/x86/include/asm/xen/trace_types.h
 create mode 100644 arch/x86/xen/trace.c
 create mode 100644 include/trace/events/xen.h

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [GIT PULL] xen: replace adhoc debug goo with proper tracing, Jeremy Fitzhardinge <=