2 # LTTng patch creation core
3 # Creates a -all patch, and split it.
4 # Mathieu Desnoyers, october 2005
15 NAME
=-2.6
.19-lttng-core-$1
16 ALL_NAME
=${PRENAME}${NAME}-all.
diff
18 printf -v COUNT
"%02d" ${VALUE}
27 splitdiff
-a -d $ALL_NAME
33 grep -v -e "^diff --git " -e "^new file mode " -e "^index " $a.tmp
> $a
37 FILE
=..
/${PRENAME}${COUNT}${NAME}-debugfs.
diff
38 VALUE
=$
(( ${VALUE} + 1 ))
39 printf -v COUNT
"%02d" ${VALUE}
41 IN
="?_fs_debugfs_inode.c"
43 for a
in $IN; do wr
$a $FILE; done
46 FILE
=..
/${PRENAME}${COUNT}${NAME}-relay.
diff
47 VALUE
=$
(( ${VALUE} + 1 ))
48 printf -v COUNT
"%02d" ${VALUE}
50 IN
="?_include_linux_relay.h
54 for a
in $IN; do wr
$a $FILE; done
56 FILE
=..
/${PRENAME}${COUNT}${NAME}-markers.
diff
57 VALUE
=$
(( ${VALUE} + 1 ))
58 printf -v COUNT
"%02d" ${VALUE}
60 IN
="?_include_asm-generic_vmlinux.lds.h
61 ?_kernel_Kconfig.marker
62 ?_include_linux_module.h
63 ?_include_linux_marker.h
64 ?_include_asm-arm_marker.h
65 ?_include_asm-cris_marker.h
66 ?_include_asm-frv_marker.h
67 ?_include_asm-generic_marker.h
68 ?_include_asm-h8300_marker.h
69 ?_include_asm-i386_marker.h
70 ?_include_asm-ia64_marker.h
71 ?_include_asm-m32r_marker.h
72 ?_include_asm-m68k_marker.h
73 ?_include_asm-m68knommu_marker.h
74 ?_include_asm-mips_marker.h
75 ?_include_asm-parisc_marker.h
76 ?_include_asm-powerpc_marker.h
77 ?_include_asm-ppc64_marker.h
78 ?_include_asm-ppc_marker.h
79 ?_include_asm-s390_marker.h
80 ?_include_asm-sh64_marker.h
81 ?_include_asm-sh_marker.h
82 ?_include_asm-sparc64_marker.h
83 ?_include_asm-sparc_marker.h
84 ?_include_asm-um_marker.h
85 ?_include_asm-v850_marker.h
86 ?_include_asm-x86_64_marker.h
87 ?_include_asm-xtensa_marker.h
90 for a
in $IN; do wr
$a $FILE; done
92 FILE
=..
/${PRENAME}${COUNT}${NAME}-atomic_up.
diff
93 VALUE
=$
(( ${VALUE} + 1 ))
94 printf -v COUNT
"%02d" ${VALUE}
96 IN
="?_include_asm-i386_atomic-up.h
97 ?_include_asm-i386_system.h
98 ?_include_asm-x86_64_atomic-up.h
99 ?_include_asm-x86_64_system.h
100 ?_include_asm-powerpc_atomic-up.h
101 ?_include_asm-powerpc_system.h
102 ?_include_asm-arm_atomic-up.h
103 ?_include_asm-mips_atomic-up.h
104 ?_include_asm-generic_atomic-up.h"
106 for a
in $IN; do wr
$a $FILE; done
108 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities.
diff
109 VALUE
=$
(( ${VALUE} + 1 ))
110 printf -v COUNT
"%02d" ${VALUE}
112 IN
="?_include_linux_ltt-facilities.h
113 ?_ltt_ltt-facilities.c"
115 for a
in $IN; do wr
$a $FILE; done
118 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-core-headers.
diff
119 VALUE
=$
(( ${VALUE} + 1 ))
120 printf -v COUNT
"%02d" ${VALUE}
122 IN
="?_include_ltt_ltt-facility-core.h
123 ?_include_ltt_ltt-facility-id-core.h
124 ?_include_ltt_ltt-facility-select-core.h"
126 for a
in $IN; do wr
$a $FILE; done
129 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-loader-core.
diff
130 VALUE
=$
(( ${VALUE} + 1 ))
131 printf -v COUNT
"%02d" ${VALUE}
133 IN
="?_ltt_facilities_ltt-facility-loader-core.c
134 ?_ltt_facilities_ltt-facility-loader-core.h
135 ?_ltt_facilities_Makefile"
137 for a
in $IN; do wr
$a $FILE; done
140 FILE
=..
/${PRENAME}${COUNT}${NAME}-timestamp.
diff
141 VALUE
=$
(( ${VALUE} + 1 ))
142 printf -v COUNT
"%02d" ${VALUE}
144 IN
="?_include_asm-alpha_ltt.h
145 ?_include_asm-arm26_ltt.h
146 ?_include_asm-arm_ltt.h
147 ?_include_asm-cris_ltt.h
148 ?_include_asm-frv_ltt.h
149 ?_include_asm-generic_ltt.h
150 ?_include_asm-h8300_ltt.h
151 ?_include_asm-i386_ltt.h
152 ?_include_asm-ia64_ltt.h
153 ?_include_asm-m32r_ltt.h
154 ?_include_asm-m68k_ltt.h
155 ?_include_asm-m68knommu_ltt.h
156 ?_include_asm-mips_ltt.h
157 ?_include_asm-mips_mipsregs.h
158 ?_include_asm-mips_timex.h
159 ?_arch_mips_kernel_time.c
160 ?_include_asm-parisc_ltt.h
161 ?_include_asm-powerpc_ltt.h
162 ?_include_asm-ppc_ltt.h
163 ?_include_asm-s390_ltt.h
164 ?_include_asm-sh64_ltt.h
165 ?_include_asm-sh_ltt.h
166 ?_include_asm-sparc64_ltt.h
167 ?_include_asm-sparc_ltt.h
168 ?_include_asm-um_ltt.h
169 ?_include_asm-v850_ltt.h
170 ?_include_asm-x86_64_ltt.h
171 ?_include_asm-xtensa_ltt.h"
173 for a
in $IN; do wr
$a $FILE; done
176 FILE
=..
/${PRENAME}${COUNT}${NAME}-core-header.
diff
177 VALUE
=$
(( ${VALUE} + 1 ))
178 printf -v COUNT
"%02d" ${VALUE}
180 IN
="?_include_linux_ltt-core.h"
182 for a
in $IN; do wr
$a $FILE; done
185 FILE
=..
/${PRENAME}${COUNT}${NAME}-core.
diff
186 VALUE
=$
(( ${VALUE} + 1 ))
187 printf -v COUNT
"%02d" ${VALUE}
191 ?_ltt_ltt-heartbeat.c"
193 for a
in $IN; do wr
$a $FILE; done
195 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer-header.
diff
196 VALUE
=$
(( ${VALUE} + 1 ))
197 printf -v COUNT
"%02d" ${VALUE}
199 IN
="?_include_ltt_ltt-tracer.h"
201 for a
in $IN; do wr
$a $FILE; done
204 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer.
diff
205 VALUE
=$
(( ${VALUE} + 1 ))
206 printf -v COUNT
"%02d" ${VALUE}
208 IN
="?_ltt_ltt-tracer.c"
210 for a
in $IN; do wr
$a $FILE; done
214 FILE
=..
/${PRENAME}${COUNT}${NAME}-transport.
diff
215 VALUE
=$
(( ${VALUE} + 1 ))
216 printf -v COUNT
"%02d" ${VALUE}
218 IN
="?_ltt_ltt-relay.c
219 ?_Documentation_ioctl-number.txt"
221 for a
in $IN; do wr
$a $FILE; done
225 FILE
=..
/${PRENAME}${COUNT}${NAME}-netlink-control.
diff
226 VALUE
=$
(( ${VALUE} + 1 ))
227 printf -v COUNT
"%02d" ${VALUE}
229 IN
="?_ltt_ltt-control.c
231 ?_include_linux_netlink.h"
233 for a
in $IN; do wr
$a $FILE; done
236 FILE
=..
/${PRENAME}${COUNT}${NAME}-userspace-tracing.
diff
237 VALUE
=$
(( ${VALUE} + 1 ))
238 printf -v COUNT
"%02d" ${VALUE}
240 IN
="?_include_linux_sched.h
245 ?_include_asm-arm_unistd.h
246 ?_include_asm-i386_unistd.h
247 ?_include_asm-mips_unistd.h
248 ?_include_asm-powerpc_unistd.h
249 ?_include_asm-powerpc_systbl.h
250 ?_include_asm-x86_64_unistd.h"
252 for a
in $IN; do wr
$a $FILE; done
254 FILE
=..
/${PRENAME}${COUNT}${NAME}-build.
diff
255 VALUE
=$
(( ${VALUE} + 1 ))
256 printf -v COUNT
"%02d" ${VALUE}
269 ?_arch_m68knommu_Kconfig
271 ?_arch_powerpc_Kconfig
272 ?_arch_parisc_Kconfig
279 ?_arch_sparc64_Kconfig
283 ?_arch_xtensa_Kconfig
284 ?_arch_x86_64_Kconfig"
286 for a
in $IN; do wr
$a $FILE; done
293 tar cvfj
${PRENAME}${NAME}.tar.bz2 ${PRENAME}*${NAME}-*
This page took 0.035599 seconds and 4 git commands to generate.