mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xen: Remove unused show_xen_trace().
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
262b481fdf
commit
fff07ef615
2 files changed
-16
No files matched your search
@@ -270,21 +270,6 @@ void show_stack(struct cpu_user_regs *regs)
|
||||
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(®s);
|
||||
}
|
||||
|
||||
void show_stack_overflow(unsigned int cpu, unsigned long esp)
|
||||
{
|
||||
#ifdef MEMORY_GUARD
|
||||
|
||||
@@ -552,7 +552,6 @@ extern always_inline void prefetchw(const void *x)
|
||||
#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);
|
||||
|
||||