From: compudj Date: Fri, 24 Nov 2006 21:43:47 +0000 (+0000) Subject: update scripts X-Git-Tag: v0.12.20~1219 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0452be202a2028e4cad0c44e99ae7a9575fcb4b0;p=lttv.git update scripts git-svn-id: http://ltt.polymtl.ca/svn@2270 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/scripts/git-diff-core b/scripts/git-diff-core index 587cb9ac..96331caf 100755 --- a/scripts/git-diff-core +++ b/scripts/git-diff-core @@ -1,3 +1,3 @@ #!/bin/sh -git-diff-tree -p -r v2.6.18 lttng-$1-core-for-2.6.18 > ../patch-2.6.18-lttng-core-$1-all.diff +git-diff-tree -p -r v2.6.18 lttng-core-$1-for-2.6.18 > ../patch-2.6.18-lttng-core-$1-all.diff diff --git a/scripts/lttng-6-split-script.sh b/scripts/lttng-6-split-script.sh index 83f6d4f8..ab01ba51 100755 --- a/scripts/lttng-6-split-script.sh +++ b/scripts/lttng-6-split-script.sh @@ -104,6 +104,15 @@ IN="?_include_asm-i386_atomic-up.h for a in $IN; do wr $a $FILE; done +FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_linux_ltt-facilities.h +?_ltt_ltt-facilities.c" + +for a in $IN; do wr $a $FILE; done + FILE=../${PRENAME}${COUNT}${NAME}-facility-core-headers.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} @@ -125,15 +134,6 @@ IN="?_ltt_facilities_ltt-facility-loader-core.c for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff -VALUE=$(( ${VALUE} + 1 )) -printf -v COUNT "%02d" ${VALUE} - -IN="?_include_linux_ltt-facilities.h -?_ltt_ltt-facilities.c" - -for a in $IN; do wr $a $FILE; done - FILE=../${PRENAME}${COUNT}${NAME}-timestamp.diff VALUE=$(( ${VALUE} + 1 )) diff --git a/scripts/lttng-core-split-script.sh b/scripts/lttng-core-split-script.sh index a8ba2850..14f4833e 100755 --- a/scripts/lttng-core-split-script.sh +++ b/scripts/lttng-core-split-script.sh @@ -105,6 +105,16 @@ IN="?_include_asm-i386_atomic-up.h for a in $IN; do wr $a $FILE; done +FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff +VALUE=$(( ${VALUE} + 1 )) +printf -v COUNT "%02d" ${VALUE} + +IN="?_include_linux_ltt-facilities.h +?_ltt_ltt-facilities.c" + +for a in $IN; do wr $a $FILE; done + + FILE=../${PRENAME}${COUNT}${NAME}-facility-core-headers.diff VALUE=$(( ${VALUE} + 1 )) printf -v COUNT "%02d" ${VALUE} @@ -126,15 +136,6 @@ IN="?_ltt_facilities_ltt-facility-loader-core.c for a in $IN; do wr $a $FILE; done -FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff -VALUE=$(( ${VALUE} + 1 )) -printf -v COUNT "%02d" ${VALUE} - -IN="?_include_linux_ltt-facilities.h -?_ltt_ltt-facilities.c" - -for a in $IN; do wr $a $FILE; done - FILE=../${PRENAME}${COUNT}${NAME}-timestamp.diff VALUE=$(( ${VALUE} + 1 ))