From 5f90908d00407c01ec95c9dfd143a696be011915 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 4 Oct 2006 18:45:22 +0000 Subject: [PATCH] update scripts git-svn-id: http://ltt.polymtl.ca/svn@2174 04897980-b3bd-0310-b5e0-8ef037075253 --- scripts/git-diff | 2 +- scripts/lttng-6-split-script.sh | 23 ++++------------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/scripts/git-diff b/scripts/git-diff index 87de6019..a39e2a07 100755 --- a/scripts/git-diff +++ b/scripts/git-diff @@ -1,3 +1,3 @@ #!/bin/sh -git-diff-tree -p -r v2.6.17 lttng-$1-for-2.6.17 > ../patch-2.6.17-lttng-$1-all.diff +git-diff-tree -p -r v2.6.18 lttng-$1-for-2.6.18 > ../patch-2.6.18-lttng-$1-all.diff diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index 413e6e67..6222fa4c 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.17-lttng-$1 +NAME=-2.6.18-lttng-$1 ALL_NAME=${PRENAME}${NAME}-all.diff COUNT=1 @@ -32,7 +32,7 @@ for a in *; do grep -v -e "^diff --git " -e "^new file mode " -e "^index " $a.tmp > $a rm $a.tmp; done - +exit FILE=../${PRENAME}${COUNT}${NAME}-debugfs.diff COUNT=$(( ${COUNT} + 1 )) @@ -229,8 +229,7 @@ IN="?_arch_i386_kernel_process.c ?_arch_i386_kernel_syscall_table.S ?_arch_i386_kernel_sys_i386.c ?_arch_i386_kernel_time.c -?_arch_i386_kernel_traps.c -?_include_asm-i386_system.h" +?_arch_i386_kernel_traps.c" for a in $IN; do wr $a $FILE; done @@ -297,8 +296,7 @@ IN="?_arch_x86_64_ia32_ia32entry.S ?_arch_x86_64_kernel_ptrace.c ?_arch_x86_64_kernel_time.c ?_arch_x86_64_kernel_traps.c -?_arch_x86_64_mm_fault.c -?_include_asm-x86_64_system.h" +?_arch_x86_64_mm_fault.c" for a in $IN; do wr $a $FILE; done @@ -467,19 +465,6 @@ IN="?_ltt_ltt-statedump.c" for a in $IN; do wr $a $FILE; done - -FILE=../${PRENAME}${COUNT}${NAME}-static-instrumentation.diff -COUNT=$(( ${COUNT} + 1 )) - -IN="?_include_linux_kernel.h -?_include_linux_ltt-static.h -?_ltt_static_locking.c -?_ltt_static_Makefile" - -for a in $IN; do wr $a $FILE; done - - - FILE=../${PRENAME}${COUNT}${NAME}-build.diff COUNT=$(( ${COUNT} + 1 )) -- 2.34.1