X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=scripts%2Flttng-6-split-script.sh;h=52b810d5d2348264da61fcdf10269db9baa2d32e;hb=3ff6a8be631760f17c86e3a737839ea530c9dfea;hp=0ef108ddcbb8f2e76aeaa59c67829d3174bed31d;hpb=e6d871b796a76e8e63c794fa64effd93d35076b9;p=lttv.git diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index 0ef108dd..52b810d5 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 @@ -96,7 +113,9 @@ FILE=../${PRENAME}${COUNT}${NAME}-markers-powerpc.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} -IN="?_include_asm-powerpc_marker.h" +IN="?_include_asm-powerpc_marker.h +?_arch_powerpc_kernel_marker.c +?_arch_powerpc_kernel_Makefile" for a in $IN; do wr $a $FILE; done @@ -129,6 +148,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 +215,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 @@ -283,8 +311,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 @@ -559,6 +586,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 )) @@ -747,6 +847,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 @@ -758,8 +860,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