[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH] [0/6] panic stack trace



Hi.

It seems that 1/6 was discarded because of its size.
To show which files are imported from Linux source tree
the shell script file is included.

thanks.

--
#! /bin/sh
# Usage:
# ./unwind_import.sh <Linux source dir> <xen source dir>

set -e

LINUX_DIR=${1}
XEN_DIR=${2}

LINUX_ARCH_KERNEL_DIR=${LINUX_DIR}/arch/ia64/kernel
LINUX_INCLUDE_ASM_DIR=${LINUX_DIR}/include/asm-ia64

XEN_ARCH_LINUX_XEN_DIR=${XEN_DIR}/xen/arch/ia64/linux-xen
XEN_INCLUDE_LINUX_ASM_DIR=${XEN_DIR}/xen/include/asm-ia64/linux-xen/asm

INCLUDE_FILES=unwind.h
ARCH_FILES="unwind.c  unwind_decoder.c  unwind_i.h"

for f in ${ARCH_FILES}
do
    cp ${LINUX_ARCH_KERNEL_DIR}/${f} ${XEN_ARCH_LINUX_XEN_DIR}
done

for f in ${INCLUDE_FILES}
do
    cp ${LINUX_INCLUDE_ASM_DIR}/${f} ${XEN_INCLUDE_LINUX_ASM_DIR}/
done

exit 0



-- 
yamahata

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.