From: compudj Date: Fri, 12 Jan 2007 18:16:45 +0000 (+0000) Subject: update scripts X-Git-Tag: v0.12.20~1151 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=56db3cc6680e32f5ffd79cc47aabbefe0c986abf;p=lttv.git update scripts git-svn-id: http://ltt.polymtl.ca/svn@2338 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index bce95e56..7346359b 100755 --- a/scripts/lttng-6-split-script.sh +++ b/scripts/lttng-6-split-script.sh @@ -46,27 +46,62 @@ IN="?_include_linux_relay.h for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-markers.diff +#Markers + +FILE=../${PRENAME}${COUNT}${NAME}-markers-kconfig.part1.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_kernel_Kconfig.marker" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-markers-generic.part1.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} IN="?_include_asm-generic_vmlinux.lds.h -?_kernel_Kconfig.marker ?_include_linux_module.h -?_include_linux_marker.h -?_include_asm-arm_marker.h +?_include_linux_marker.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-markers-i386.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-i386_marker.h" + +for a in $IN; do wr $a $FILE; done + + + +FILE=../${PRENAME}${COUNT}${NAME}-markers-powerpc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-powerpc_marker.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-markers-non-opt-arch.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-arm_marker.h ?_include_asm-cris_marker.h ?_include_asm-frv_marker.h ?_include_asm-generic_marker.h ?_include_asm-h8300_marker.h -?_include_asm-i386_marker.h ?_include_asm-ia64_marker.h ?_include_asm-m32r_marker.h ?_include_asm-m68k_marker.h ?_include_asm-m68knommu_marker.h ?_include_asm-mips_marker.h ?_include_asm-parisc_marker.h -?_include_asm-powerpc_marker.h ?_include_asm-ppc_marker.h ?_include_asm-s390_marker.h ?_include_asm-sh64_marker.h @@ -80,43 +115,186 @@ IN="?_include_asm-generic_vmlinux.lds.h for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-atomic.diff + + +#atomic + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-alpha.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} -IN=" -?_include_asm-alpha_atomic.h -?_include_asm-alpha_system.h -?_include_asm-generic_atomic.h -?_include_asm-i386_atomic.h -?_include_asm-i386_system.h -?_include_asm-ia64_atomic.h -?_include_asm-mips_atomic.h -?_include_asm-mips_system.h -?_include_asm-parisc_atomic.h -?_include_asm-powerpc_atomic.h -?_include_asm-powerpc_system.h -?_include_asm-sparc64_atomic.h -?_include_asm-x86_64_atomic.h -?_include_asm-x86_64_system.h" +IN="?_include_asm-alpha_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-generic-atomic_long.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-generic_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-i386.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-i386_atomic.h" + +for a in $IN; do wr $a $FILE; done + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-ia64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-ia64_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-mips.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-mips_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-parisc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-parisc_atomic.h" for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-local.diff +FILE=../${PRENAME}${COUNT}${NAME}-atomic-powerpc.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} -IN=" -?_include_asm-alpha_local.h -?_include_asm-generic_local.h -?_include_asm-i386_local.h -?_include_asm-ia64_local.h -?_include_asm-mips_local.h -?_include_asm-parisc_local.h -?_include_asm-powerpc_local.h -?_include_asm-s390_local.h -?_include_asm-sparc64_local.h -?_include_asm-x86_64_local.h" +IN="?_include_asm-powerpc_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-sparc64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-sparc64_atomic.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-atomic-x86_64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-x86_64_atomic.h" + +for a in $IN; do wr $a $FILE; done + + + +#local + +FILE=../${PRENAME}${COUNT}${NAME}-local-generic.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-generic_local.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-alpha.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-alpha_local.h +?_include_asm-alpha_system.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-i386.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-i386_local.h +?_include_asm-i386_system.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-ia64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-ia64_local.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-mips.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-mips_local.h +?_include_asm-mips_system.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-parisc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-parisc_local.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-powerpc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-powerpc_local.h +?_include_asm-powerpc_system.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-s390.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-s390_local.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-sparc64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-sparc64_local.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../${PRENAME}${COUNT}${NAME}-local-x86_64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-x86_64_local.h +?_include_asm-x86_64_system.h" + + +#facilities for a in $IN; do wr $a $FILE; done @@ -360,6 +538,7 @@ IN="?_arch_x86_64_ia32_ia32entry.S for a in $IN; do wr $a $FILE; done + FILE=../${PRENAME}${COUNT}${NAME}-instrumentation.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} @@ -378,7 +557,6 @@ IN="?_fs_buffer.c ?_kernel_itimer.c ?_kernel_kthread.c ?_kernel_lockdep.c -?_kernel_module.c ?_kernel_printk.c ?_kernel_sched.c ?_kernel_signal.c @@ -394,6 +572,17 @@ IN="?_fs_buffer.c for a in $IN; do wr $a $FILE; done + +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-markers.tosplit.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_kernel_module.c" + +for a in $IN; do wr $a $FILE; done + + + FILE=../${PRENAME}${COUNT}${NAME}-facilities-probes-headers.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} @@ -529,7 +718,7 @@ IN="?_ltt_ltt-statedump.c" for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-build.diff +FILE=../${PRENAME}${COUNT}${NAME}-build.tosplit.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE}