WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xen: Remove unused show_xen_trace().

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen: Remove unused show_xen_trace().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Apr 2007 12:30:15 -0700
Delivery-date: Mon, 09 Apr 2007 12:29:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1175866525 -3600
# Node ID bd73cb523111dd022d6d1e7de01d1930ed85b307
# Parent  6625adf359dc8c64e2da3802585fb378f4863925
xen: Remove unused show_xen_trace().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/traps.c            |   15 ---------------
 xen/include/asm-x86/processor.h |    1 -
 2 files changed, 16 deletions(-)

diff -r 6625adf359dc -r bd73cb523111 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Fri Apr 06 14:34:43 2007 +0100
+++ b/xen/arch/x86/traps.c      Fri Apr 06 14:35:25 2007 +0100
@@ -268,21 +268,6 @@ void show_stack(struct cpu_user_regs *re
     printk("\n");
 
     show_trace(regs);
-}
-
-void show_xen_trace()
-{
-    struct cpu_user_regs regs;
-#ifdef __x86_64
-    __asm__("movq %%rsp,%0" : "=m" (regs.rsp));
-    __asm__("movq %%rbp,%0" : "=m" (regs.rbp));
-    __asm__("leaq 0(%%rip),%0" : "=a" (regs.rip));
-#else
-    __asm__("movl %%esp,%0" : "=m" (regs.esp));
-    __asm__("movl %%ebp,%0" : "=m" (regs.ebp));
-    __asm__("call 1f; 1: popl %0" : "=a" (regs.eip));
-#endif
-    show_trace(&regs);
 }
 
 void show_stack_overflow(unsigned int cpu, unsigned long esp)
diff -r 6625adf359dc -r bd73cb523111 xen/include/asm-x86/processor.h
--- a/xen/include/asm-x86/processor.h   Fri Apr 06 14:34:43 2007 +0100
+++ b/xen/include/asm-x86/processor.h   Fri Apr 06 14:35:25 2007 +0100
@@ -552,7 +552,6 @@ extern always_inline void prefetchw(cons
 #endif
 
 void show_stack(struct cpu_user_regs *regs);
-void show_xen_trace(void);
 void show_stack_overflow(unsigned int cpu, unsigned long esp);
 void show_registers(struct cpu_user_regs *regs);
 void show_execution_state(struct cpu_user_regs *regs);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen: Remove unused show_xen_trace()., Xen patchbot-unstable <=