X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flttng-6-split-script.sh;h=a89f4a694f9c3b99bfee2eb353a77c51fb020c51;hb=29ca3ec759ac55813c6341e676cd4e1261c993b6;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..a89f4a69 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,21 @@ 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_powerpc_prom.h +?_include_asm-sparc64_tlb.h +?_kernel_time_clocksource.c +?_include_asm-ppc_ocp.h +?_arch_ppc_kernel_ppc_ksyms.c" + +for a in $IN; do wr $a $FILE; done + + #for hotplug FILE=../${PRENAME}${COUNT}${NAME}-relay.diff VALUE=$(( ${VALUE} + 1 )) @@ -130,7 +145,6 @@ IN="?_include_asm-arm_marker.h for a in $IN; do wr $a $FILE; done - #atomic FILE=../${PRENAME}${COUNT}${NAME}-atomic-alpha.diff @@ -189,7 +203,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 @@ -559,6 +575,71 @@ 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 + FILE=../${PRENAME}${COUNT}${NAME}-instrumentation.diff VALUE=$(( ${VALUE} + 1 )) @@ -747,6 +828,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 +841,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