#!/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
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}
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 ))
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}
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 ))