X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-6-split-script.sh;h=d6a25f10cbc6ad3013e5196c961f73c59c7fd29f;hb=a6f78e03d6bf08862b05dcc7a1329df458a8b26e;hp=ee8e6f89539a7ecbacdce0bd07bdc67338585e29;hpb=ce1b576df87d33f98f0392c0393efccda4c92c6c;p=lttv.git diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index ee8e6f89..d6a25f10 100755 --- a/scripts/lttng-6-split-script.sh +++ b/scripts/lttng-6-split-script.sh @@ -12,7 +12,7 @@ function wr () { PRENAME=patch -NAME=-2.6.20-rc6-lttng-$1 +NAME=-2.6.20-lttng-$1 ALL_NAME=${PRENAME}${NAME}-all.diff VALUE=1 printf -v COUNT "%02d" ${VALUE} @@ -34,6 +34,22 @@ for a in *; do rm $a.tmp; done +#hotfix 2.6.20 +FILE=../${PRENAME}${COUNT}${NAME}-hotfix.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_arch_powerpc_kernel_prom_parse.c +?_include_asm-powerpc_prom.h +?_include_asm-sparc64_tlb.h +?_kernel_time_clocksource.c +?_include_asm-ppc_ocp.h +?_arch_powerpc_kernel_setup_32.c +?_arch_ppc_kernel_setup.c" + +for a in $IN; do wr $a $FILE; done + + #for hotplug FILE=../${PRENAME}${COUNT}${NAME}-relay.diff VALUE=$(( ${VALUE} + 1 )) @@ -75,7 +91,8 @@ printf -v COUNT "%02d" ${VALUE} IN="?_include_asm-generic_vmlinux.lds.h ?_include_linux_module.h -?_include_linux_marker.h" +?_include_linux_marker.h +?_include_linux_kernel.h" for a in $IN; do wr $a $FILE; done @@ -129,6 +146,13 @@ IN="?_include_asm-arm_marker.h for a in $IN; do wr $a $FILE; done +FILE=../${PRENAME}${COUNT}${NAME}-markers-doc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_Documentation_marker.txt" + +for a in $IN; do wr $a $FILE; done #atomic @@ -189,7 +213,9 @@ FILE=../${PRENAME}${COUNT}${NAME}-atomic-powerpc.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} -IN="?_include_asm-powerpc_atomic.h" +IN="?_include_asm-powerpc_atomic.h +?_include_asm-powerpc_bitops.h +?_include_asm-powerpc_system.h" for a in $IN; do wr $a $FILE; done @@ -202,6 +228,13 @@ IN="?_include_asm-sparc64_atomic.h" for a in $IN; do wr $a $FILE; done +FILE=../${PRENAME}${COUNT}${NAME}-atomic-s390.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-s390_atomic.h" + +for a in $IN; do wr $a $FILE; done FILE=../${PRENAME}${COUNT}${NAME}-atomic-x86_64.diff VALUE=$(( ${VALUE} + 1 )) @@ -276,8 +309,7 @@ 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" +IN="?_include_asm-powerpc_local.h" for a in $IN; do wr $a $FILE; done @@ -552,6 +584,79 @@ IN="?_arch_x86_64_ia32_ia32entry.S for a in $IN; do wr $a $FILE; done +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-m68k.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-m68k_thread_info.h" + +for a in $IN; do wr $a $FILE; done + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-m68knommu.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-m68knommu_thread_info.h +?_arch_m68knommu_platform_68328_entry.S" + +for a in $IN; do wr $a $FILE; done + + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sparc.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-sparc_thread_info.h +?_arch_sparc_kernel_entry.S" + +for a in $IN; do wr $a $FILE; done + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-s390.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_arch_s390_kernel_traps.c +?_arch_s390_mm_fault.c" + +for a in $IN; do wr $a $FILE; done + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sh.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_arch_sh_kernel_entry-common.S +?_arch_sh_kernel_irq.c +?_arch_sh_kernel_process.c +?_arch_sh_kernel_sys_sh.c +?_arch_sh_kernel_traps.c +?_arch_sh_mm_fault.c +?_include_asm-sh_thread_info.h" + +for a in $IN; do wr $a $FILE; done + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sh64.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_arch_sh64_kernel_entry.S +?_include_asm-sh64_thread_info.h" + +for a in $IN; do wr $a $FILE; done + +#limited +FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-alpha.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_asm-alpha_thread_info.h" + +for a in $IN; do wr $a $FILE; done FILE=../${PRENAME}${COUNT}${NAME}-instrumentation.diff VALUE=$(( ${VALUE} + 1 )) @@ -740,6 +845,8 @@ IN="?_Makefile ?_ltt_Kconfig ?_ltt_Makefile ?_arch_alpha_Kconfig +?_arch_arm26_Kconfig +?_arch_arm_Kconfig ?_arch_cris_Kconfig ?_arch_frv_Kconfig ?_arch_h8300_Kconfig @@ -751,8 +858,6 @@ IN="?_Makefile ?_arch_ppc_Kconfig ?_arch_powerpc_Kconfig ?_arch_parisc_Kconfig -?_arch_arm_Kconfig -?_arch_arm26_Kconfig ?_arch_mips_Kconfig ?_arch_s390_Kconfig ?_arch_sh64_Kconfig