b05be313 |
1 | #!/bin/sh |
2 | # LTTng patch creation |
3 | # Creates a -all patch, and split it. |
4 | # Mathieu Desnoyers, october 2005 |
5 | #$1 is the version |
6 | |
7 | function wr () { |
8 | |
9 | cat $1 >> $2 |
10 | |
11 | } |
12 | |
13 | |
14 | PRENAME=patch |
d2f4f4a2 |
15 | NAME=-2.6.20-rc1-git7-lttng-$1 |
b05be313 |
16 | ALL_NAME=${PRENAME}${NAME}-all.diff |
59248316 |
17 | VALUE=1 |
18 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
19 | |
20 | rm -fr tmppatch |
21 | mkdir tmppatch |
22 | |
23 | cd tmppatch |
24 | |
25 | cp ../$ALL_NAME . |
26 | |
27 | splitdiff -a -d $ALL_NAME |
28 | |
29 | rm $ALL_NAME |
30 | |
31 | for a in *; do |
32 | cp $a $a.tmp; |
33 | grep -v -e "^diff --git " -e "^new file mode " -e "^index " $a.tmp > $a |
34 | rm $a.tmp; |
35 | done |
d21785c0 |
36 | |
2eb20a5c |
37 | #for hotplug |
38 | FILE=../${PRENAME}${COUNT}${NAME}-relay.diff |
39 | VALUE=$(( ${VALUE} + 1 )) |
40 | printf -v COUNT "%02d" ${VALUE} |
41 | |
42 | IN="?_include_linux_relay.h |
48edb02d |
43 | ?_kernel_relay.c |
d11576c9 |
44 | ?_Documentation_filesystems_relay.txt |
48edb02d |
45 | ?_block_blktrace.c" |
2eb20a5c |
46 | |
47 | for a in $IN; do wr $a $FILE; done |
48 | |
b05be313 |
49 | FILE=../${PRENAME}${COUNT}${NAME}-markers.diff |
6a0dfeb5 |
50 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
51 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
52 | |
53 | IN="?_include_asm-generic_vmlinux.lds.h |
54 | ?_kernel_Kconfig.marker |
55 | ?_include_linux_module.h |
56 | ?_include_linux_marker.h |
57 | ?_include_asm-arm_marker.h |
58 | ?_include_asm-cris_marker.h |
59 | ?_include_asm-frv_marker.h |
60 | ?_include_asm-generic_marker.h |
61 | ?_include_asm-h8300_marker.h |
62 | ?_include_asm-i386_marker.h |
63 | ?_include_asm-ia64_marker.h |
64 | ?_include_asm-m32r_marker.h |
65 | ?_include_asm-m68k_marker.h |
66 | ?_include_asm-m68knommu_marker.h |
67 | ?_include_asm-mips_marker.h |
68 | ?_include_asm-parisc_marker.h |
69 | ?_include_asm-powerpc_marker.h |
70 | ?_include_asm-ppc64_marker.h |
71 | ?_include_asm-ppc_marker.h |
72 | ?_include_asm-s390_marker.h |
73 | ?_include_asm-sh64_marker.h |
74 | ?_include_asm-sh_marker.h |
75 | ?_include_asm-sparc64_marker.h |
76 | ?_include_asm-sparc_marker.h |
77 | ?_include_asm-um_marker.h |
78 | ?_include_asm-v850_marker.h |
79 | ?_include_asm-x86_64_marker.h |
80 | ?_include_asm-xtensa_marker.h" |
81 | |
82 | for a in $IN; do wr $a $FILE; done |
83 | |
ee8d3673 |
84 | FILE=../${PRENAME}${COUNT}${NAME}-atomic.diff |
b08c5258 |
85 | VALUE=$(( ${VALUE} + 1 )) |
86 | printf -v COUNT "%02d" ${VALUE} |
87 | |
de09a23f |
88 | IN=" |
89 | ?_include_asm-alpha_atomic.h |
90 | ?_include_asm-alpha_system.h |
91 | ?_include_asm-arm_atomic.h |
92 | ?_include_asm-generic_atomic.h |
93 | ?_include_asm-i386_atomic.h |
9c46acf2 |
94 | ?_include_asm-i386_system.h |
de09a23f |
95 | ?_include_asm-ia64_atomic.h |
96 | ?_include_asm-mips_atomic.h |
cab8dcf8 |
97 | ?_include_asm-mips_system.h |
de09a23f |
98 | ?_include_asm-parisc_atomic.h |
ee8d3673 |
99 | ?_include_asm-powerpc_atomic.h |
9c46acf2 |
100 | ?_include_asm-powerpc_system.h |
de09a23f |
101 | ?_include_asm-sparc64_atomic.h |
102 | ?_include_asm-x86_64_atomic.h |
103 | ?_include_asm-x86_64_system.h" |
ee8d3673 |
104 | |
105 | for a in $IN; do wr $a $FILE; done |
106 | |
107 | FILE=../${PRENAME}${COUNT}${NAME}-local.diff |
108 | VALUE=$(( ${VALUE} + 1 )) |
109 | printf -v COUNT "%02d" ${VALUE} |
110 | |
de09a23f |
111 | IN=" |
112 | ?_include_asm-alpha_local.h |
113 | ?_include_asm-generic_local.h |
114 | ?_include_asm-i386_local.h |
115 | ?_include_asm-ia64_local.h |
ee8d3673 |
116 | ?_include_asm-mips_local.h |
de09a23f |
117 | ?_include_asm-parisc_local.h |
118 | ?_include_asm-powerpc_local.h |
119 | ?_include_asm-s390_local.h |
120 | ?_include_asm-sparc64_local.h |
121 | ?_include_asm-x86_64_local.h" |
b08c5258 |
122 | |
123 | for a in $IN; do wr $a $FILE; done |
b05be313 |
124 | |
0452be20 |
125 | FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff |
126 | VALUE=$(( ${VALUE} + 1 )) |
127 | printf -v COUNT "%02d" ${VALUE} |
128 | |
129 | IN="?_include_linux_ltt-facilities.h |
130 | ?_ltt_ltt-facilities.c" |
131 | |
132 | for a in $IN; do wr $a $FILE; done |
133 | |
b05be313 |
134 | FILE=../${PRENAME}${COUNT}${NAME}-facility-core-headers.diff |
6a0dfeb5 |
135 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
136 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
137 | |
138 | IN="?_include_ltt_ltt-facility-core.h |
9f438fac |
139 | ?_include_ltt_ltt-facility-id-core.h |
140 | ?_include_ltt_ltt-facility-select-core.h" |
b05be313 |
141 | |
142 | for a in $IN; do wr $a $FILE; done |
143 | |
144 | |
145 | FILE=../${PRENAME}${COUNT}${NAME}-facility-loader-core.diff |
6a0dfeb5 |
146 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
147 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
148 | |
149 | IN="?_ltt_facilities_ltt-facility-loader-core.c |
150 | ?_ltt_facilities_ltt-facility-loader-core.h |
151 | ?_ltt_facilities_Makefile" |
152 | |
153 | for a in $IN; do wr $a $FILE; done |
154 | |
b05be313 |
155 | |
156 | FILE=../${PRENAME}${COUNT}${NAME}-timestamp.diff |
6a0dfeb5 |
157 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
158 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
159 | |
160 | IN="?_include_asm-alpha_ltt.h |
161 | ?_include_asm-arm26_ltt.h |
162 | ?_include_asm-arm_ltt.h |
163 | ?_include_asm-cris_ltt.h |
164 | ?_include_asm-frv_ltt.h |
165 | ?_include_asm-generic_ltt.h |
166 | ?_include_asm-h8300_ltt.h |
167 | ?_include_asm-i386_ltt.h |
168 | ?_include_asm-ia64_ltt.h |
169 | ?_include_asm-m32r_ltt.h |
170 | ?_include_asm-m68k_ltt.h |
171 | ?_include_asm-m68knommu_ltt.h |
172 | ?_include_asm-mips_ltt.h |
b05be313 |
173 | ?_include_asm-mips_timex.h |
174 | ?_arch_mips_kernel_time.c |
175 | ?_include_asm-parisc_ltt.h |
176 | ?_include_asm-powerpc_ltt.h |
177 | ?_include_asm-ppc_ltt.h |
178 | ?_include_asm-s390_ltt.h |
179 | ?_include_asm-sh64_ltt.h |
180 | ?_include_asm-sh_ltt.h |
181 | ?_include_asm-sparc64_ltt.h |
182 | ?_include_asm-sparc_ltt.h |
183 | ?_include_asm-um_ltt.h |
184 | ?_include_asm-v850_ltt.h |
185 | ?_include_asm-x86_64_ltt.h |
186 | ?_include_asm-xtensa_ltt.h" |
187 | |
188 | for a in $IN; do wr $a $FILE; done |
189 | |
190 | |
191 | FILE=../${PRENAME}${COUNT}${NAME}-core-header.diff |
6a0dfeb5 |
192 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
193 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
194 | |
195 | IN="?_include_linux_ltt-core.h" |
196 | |
197 | for a in $IN; do wr $a $FILE; done |
198 | |
199 | |
200 | FILE=../${PRENAME}${COUNT}${NAME}-core.diff |
6a0dfeb5 |
201 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
202 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
203 | |
204 | IN="?_MAINTAINERS |
205 | ?_ltt_ltt-core.c |
206 | ?_ltt_ltt-heartbeat.c" |
207 | |
208 | for a in $IN; do wr $a $FILE; done |
209 | |
210 | FILE=../${PRENAME}${COUNT}${NAME}-tracer-header.diff |
6a0dfeb5 |
211 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
212 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
213 | |
214 | IN="?_include_ltt_ltt-tracer.h" |
215 | |
216 | for a in $IN; do wr $a $FILE; done |
217 | |
218 | |
219 | FILE=../${PRENAME}${COUNT}${NAME}-tracer.diff |
6a0dfeb5 |
220 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
221 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
222 | |
223 | IN="?_ltt_ltt-tracer.c" |
224 | |
225 | for a in $IN; do wr $a $FILE; done |
226 | |
227 | |
228 | |
229 | FILE=../${PRENAME}${COUNT}${NAME}-transport.diff |
6a0dfeb5 |
230 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
231 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
232 | |
233 | IN="?_ltt_ltt-relay.c |
234 | ?_Documentation_ioctl-number.txt" |
235 | |
236 | for a in $IN; do wr $a $FILE; done |
237 | |
238 | |
239 | |
240 | FILE=../${PRENAME}${COUNT}${NAME}-netlink-control.diff |
6a0dfeb5 |
241 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
242 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
243 | |
244 | IN="?_ltt_ltt-control.c |
245 | ?_ltt_ltt-control.h |
246 | ?_include_linux_netlink.h" |
247 | |
248 | for a in $IN; do wr $a $FILE; done |
249 | |
250 | |
251 | FILE=../${PRENAME}${COUNT}${NAME}-userspace-tracing.diff |
6a0dfeb5 |
252 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
253 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
254 | |
255 | IN="?_include_linux_sched.h |
256 | ?_kernel_sys_ni.c |
257 | ?_ltt_ltt-syscall.c |
258 | ?_kernel_exit.c |
259 | ?_kernel_fork.c |
d06e43ce |
260 | ?_include_asm-arm_unistd.h |
b05be313 |
261 | ?_include_asm-i386_unistd.h |
d06e43ce |
262 | ?_include_asm-mips_unistd.h |
b05be313 |
263 | ?_include_asm-powerpc_unistd.h |
37ad9911 |
264 | ?_include_asm-powerpc_systbl.h |
e7a7fdac |
265 | ?_include_asm-x86_64_unistd.h" |
b05be313 |
266 | |
267 | for a in $IN; do wr $a $FILE; done |
268 | |
269 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-arm.diff |
6a0dfeb5 |
270 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
271 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
272 | |
273 | IN="?_arch_arm_kernel_calls.S |
274 | ?_arch_arm_kernel_entry-common.S |
b05be313 |
275 | ?_arch_arm_kernel_process.c |
276 | ?_arch_arm_kernel_ptrace.c |
277 | ?_arch_arm_kernel_sys_arm.c |
278 | ?_arch_arm_kernel_time.c |
279 | ?_arch_arm_kernel_traps.c |
c133f16b |
280 | ?_include_asm-arm_thread_info.h" |
b05be313 |
281 | |
282 | for a in $IN; do wr $a $FILE; done |
283 | |
284 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-i386.diff |
6a0dfeb5 |
285 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
286 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
287 | |
288 | IN="?_arch_i386_kernel_process.c |
289 | ?_arch_i386_kernel_ptrace.c |
290 | ?_arch_i386_kernel_syscall_table.S |
291 | ?_arch_i386_kernel_sys_i386.c |
292 | ?_arch_i386_kernel_time.c |
301ad7de |
293 | ?_arch_i386_kernel_traps.c |
294 | ?_arch_i386_mm_fault.c" |
b05be313 |
295 | |
296 | for a in $IN; do wr $a $FILE; done |
297 | |
298 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-mips.diff |
6a0dfeb5 |
299 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
300 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
301 | |
8003761f |
302 | IN="?_arch_mips_kernel_process.c |
b05be313 |
303 | ?_arch_mips_kernel_ptrace.c |
b05be313 |
304 | ?_arch_mips_kernel_syscall.c |
b05be313 |
305 | ?_arch_mips_kernel_traps.c |
306 | ?_arch_mips_kernel_unaligned.c |
d06e43ce |
307 | ?_include_asm-mips_mipsregs.h |
308 | ?_arch_mips_kernel_scall32-o32.S |
309 | ?_arch_mips_kernel_scall64-64.S |
310 | ?_arch_mips_kernel_scall64-n32.S |
301ad7de |
311 | ?_arch_mips_kernel_scall64-o32.S |
312 | ?_arch_mips_mm_fault.c" |
b05be313 |
313 | |
314 | for a in $IN; do wr $a $FILE; done |
315 | |
316 | |
317 | |
318 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-powerpc.diff |
6a0dfeb5 |
319 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
320 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
321 | |
8003761f |
322 | IN="?_arch_powerpc_kernel_irq.c |
b05be313 |
323 | ?_arch_powerpc_kernel_misc_32.S |
324 | ?_arch_powerpc_kernel_misc_64.S |
325 | ?_arch_powerpc_kernel_ppc_ksyms.c |
326 | ?_arch_powerpc_kernel_process.c |
327 | ?_arch_powerpc_kernel_prom.c |
328 | ?_arch_powerpc_kernel_ptrace.c |
329 | ?_arch_powerpc_kernel_syscalls.c |
b05be313 |
330 | ?_arch_powerpc_kernel_time.c |
301ad7de |
331 | ?_arch_powerpc_kernel_traps.c |
332 | ?_arch_powerpc_mm_fault.c" |
b05be313 |
333 | |
334 | for a in $IN; do wr $a $FILE; done |
335 | |
336 | |
337 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-ppc.diff |
6a0dfeb5 |
338 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
339 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
340 | |
e8c4df0a |
341 | IN="?_arch_ppc_kernel_misc.S |
b05be313 |
342 | ?_arch_ppc_kernel_time.c |
301ad7de |
343 | ?_arch_ppc_kernel_traps.c |
344 | ?_arch_ppc_mm_fault.c" |
b05be313 |
345 | |
346 | |
347 | for a in $IN; do wr $a $FILE; done |
348 | |
349 | |
350 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-x86_64.diff |
6a0dfeb5 |
351 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
352 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
353 | |
354 | IN="?_arch_x86_64_ia32_ia32entry.S |
355 | ?_arch_x86_64_ia32_ipc32.c |
356 | ?_arch_x86_64_kernel_entry.S |
0207bc6f |
357 | ?_arch_x86_64_kernel_process.c |
b05be313 |
358 | ?_arch_x86_64_kernel_ptrace.c |
359 | ?_arch_x86_64_kernel_time.c |
301ad7de |
360 | ?_arch_x86_64_kernel_traps.c |
361 | ?_arch_x86_64_mm_fault.c" |
b05be313 |
362 | |
363 | for a in $IN; do wr $a $FILE; done |
364 | |
365 | FILE=../${PRENAME}${COUNT}${NAME}-instrumentation.diff |
6a0dfeb5 |
366 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
367 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
368 | |
369 | IN="?_fs_buffer.c |
370 | ?_fs_compat.c |
b05be313 |
371 | ?_fs_exec.c |
372 | ?_fs_ioctl.c |
373 | ?_fs_open.c |
374 | ?_fs_read_write.c |
375 | ?_fs_select.c |
376 | ?_ipc_msg.c |
377 | ?_ipc_sem.c |
378 | ?_ipc_shm.c |
379 | ?_kernel_irq_handle.c |
380 | ?_kernel_itimer.c |
381 | ?_kernel_kthread.c |
e551ca2a |
382 | ?_kernel_lockdep.c |
b05be313 |
383 | ?_kernel_module.c |
384 | ?_kernel_printk.c |
385 | ?_kernel_sched.c |
386 | ?_kernel_signal.c |
387 | ?_kernel_softirq.c |
388 | ?_kernel_timer.c |
389 | ?_mm_filemap.c |
390 | ?_mm_memory.c |
391 | ?_mm_page_alloc.c |
392 | ?_mm_page_io.c |
393 | ?_net_core_dev.c |
394 | ?_net_ipv4_devinet.c |
395 | ?_net_socket.c" |
396 | |
397 | for a in $IN; do wr $a $FILE; done |
398 | |
399 | FILE=../${PRENAME}${COUNT}${NAME}-facilities-probes-headers.diff |
6a0dfeb5 |
400 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
401 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
402 | |
403 | IN="?_include_ltt_ltt-facility-custom-fs_data.h |
404 | ?_include_ltt_ltt-facility-custom-stack_arch_i386.h |
405 | ?_include_ltt_ltt-facility-custom-stack_arch_x86_64.h |
406 | ?_include_ltt_ltt-facility-custom-stack.h |
407 | ?_include_ltt_ltt-facility-fs_data.h |
408 | ?_include_ltt_ltt-facility-fs.h |
409 | ?_include_ltt_ltt-facility-id-fs_data.h |
410 | ?_include_ltt_ltt-facility-id-fs.h |
411 | ?_include_ltt_ltt-facility-id-ipc.h |
412 | ?_include_ltt_ltt-facility-id-kernel_arch_arm.h |
413 | ?_include_ltt_ltt-facility-id-kernel_arch_i386.h |
414 | ?_include_ltt_ltt-facility-id-kernel_arch_mips.h |
415 | ?_include_ltt_ltt-facility-id-kernel_arch_powerpc.h |
416 | ?_include_ltt_ltt-facility-id-kernel_arch_ppc.h |
417 | ?_include_ltt_ltt-facility-id-kernel_arch_x86_64.h |
418 | ?_include_ltt_ltt-facility-id-kernel.h |
419 | ?_include_ltt_ltt-facility-id-locking.h |
420 | ?_include_ltt_ltt-facility-id-memory.h |
421 | ?_include_ltt_ltt-facility-id-network.h |
422 | ?_include_ltt_ltt-facility-id-network_ip_interface.h |
423 | ?_include_ltt_ltt-facility-id-process.h |
424 | ?_include_ltt_ltt-facility-id-socket.h |
425 | ?_include_ltt_ltt-facility-id-stack_arch_i386.h |
426 | ?_include_ltt_ltt-facility-id-stack.h |
427 | ?_include_ltt_ltt-facility-id-statedump.h |
428 | ?_include_ltt_ltt-facility-id-timer.h |
429 | ?_include_ltt_ltt-facility-ipc.h |
430 | ?_include_ltt_ltt-facility-kernel_arch_arm.h |
431 | ?_include_ltt_ltt-facility-kernel_arch_i386.h |
432 | ?_include_ltt_ltt-facility-kernel_arch_mips.h |
433 | ?_include_ltt_ltt-facility-kernel_arch_powerpc.h |
434 | ?_include_ltt_ltt-facility-kernel_arch_ppc.h |
435 | ?_include_ltt_ltt-facility-kernel_arch_x86_64.h |
436 | ?_include_ltt_ltt-facility-kernel.h |
437 | ?_include_ltt_ltt-facility-locking.h |
438 | ?_include_ltt_ltt-facility-memory.h |
439 | ?_include_ltt_ltt-facility-network.h |
440 | ?_include_ltt_ltt-facility-network_ip_interface.h |
441 | ?_include_ltt_ltt-facility-process.h |
b05be313 |
442 | ?_include_ltt_ltt-facility-select-default.h |
443 | ?_include_ltt_ltt-facility-select-kernel.h |
444 | ?_include_ltt_ltt-facility-select-network_ip_interface.h |
445 | ?_include_ltt_ltt-facility-select-process.h |
446 | ?_include_ltt_ltt-facility-select-statedump.h |
447 | ?_include_ltt_ltt-facility-socket.h |
448 | ?_include_ltt_ltt-facility-stack.h |
449 | ?_include_ltt_ltt-facility-statedump.h |
967d5617 |
450 | ?_include_ltt_ltt-facility-timer.h |
451 | ?_include_ltt_ltt-stack.h" |
b05be313 |
452 | |
453 | for a in $IN; do wr $a $FILE; done |
454 | |
455 | |
456 | FILE=../${PRENAME}${COUNT}${NAME}-facilities-probes.diff |
6a0dfeb5 |
457 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
458 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
459 | |
460 | IN="?_ltt_facilities_ltt-facility-loader-fs.c |
461 | ?_ltt_facilities_ltt-facility-loader-fs_data.c |
462 | ?_ltt_facilities_ltt-facility-loader-fs_data.h |
463 | ?_ltt_facilities_ltt-facility-loader-fs.h |
464 | ?_ltt_facilities_ltt-facility-loader-ipc.c |
465 | ?_ltt_facilities_ltt-facility-loader-ipc.h |
466 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.c |
467 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.h |
468 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.c |
469 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.h |
470 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.c |
471 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.h |
472 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.c |
473 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.h |
474 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.c |
475 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.h |
476 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.c |
477 | ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.h |
478 | ?_ltt_facilities_ltt-facility-loader-kernel.c |
479 | ?_ltt_facilities_ltt-facility-loader-kernel.h |
480 | ?_ltt_facilities_ltt-facility-loader-locking.c |
481 | ?_ltt_facilities_ltt-facility-loader-locking.h |
482 | ?_ltt_facilities_ltt-facility-loader-memory.c |
483 | ?_ltt_facilities_ltt-facility-loader-memory.h |
484 | ?_ltt_facilities_ltt-facility-loader-network.c |
485 | ?_ltt_facilities_ltt-facility-loader-network.h |
486 | ?_ltt_facilities_ltt-facility-loader-network_ip_interface.c |
487 | ?_ltt_facilities_ltt-facility-loader-network_ip_interface.h |
488 | ?_ltt_facilities_ltt-facility-loader-process.c |
489 | ?_ltt_facilities_ltt-facility-loader-process.h |
490 | ?_ltt_facilities_ltt-facility-loader-socket.c |
491 | ?_ltt_facilities_ltt-facility-loader-socket.h |
b05be313 |
492 | ?_ltt_facilities_ltt-facility-loader-stack.c |
493 | ?_ltt_facilities_ltt-facility-loader-stack.h |
494 | ?_ltt_facilities_ltt-facility-loader-statedump.c |
495 | ?_ltt_facilities_ltt-facility-loader-statedump.h |
496 | ?_ltt_facilities_ltt-facility-loader-timer.c |
967d5617 |
497 | ?_ltt_facilities_ltt-facility-loader-timer.h |
498 | ?_ltt_ltt-stack.c" |
b05be313 |
499 | |
500 | |
501 | for a in $IN; do wr $a $FILE; done |
502 | |
503 | |
504 | FILE=../${PRENAME}${COUNT}${NAME}-probes.diff |
6a0dfeb5 |
505 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
506 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
507 | |
508 | IN="?_ltt_probes_ltt-probe-arm.c |
509 | ?_ltt_probes_ltt-probe-fs.c |
510 | ?_ltt_probes_ltt-probe-i386.c |
511 | ?_ltt_probes_ltt-probe-ipc.c |
512 | ?_ltt_probes_ltt-probe-kernel.c |
513 | ?_ltt_probes_ltt-probe-list.c |
e551ca2a |
514 | ?_ltt_probes_ltt-probe-locking.c |
b05be313 |
515 | ?_ltt_probes_ltt-probe-mips.c |
516 | ?_ltt_probes_ltt-probe-mm.c |
517 | ?_ltt_probes_ltt-probe-net.c |
518 | ?_ltt_probes_ltt-probe-powerpc.c |
519 | ?_ltt_probes_ltt-probe-ppc.c |
520 | ?_ltt_probes_ltt-probe-x86_64.c |
521 | ?_ltt_probes_Makefile" |
522 | |
523 | for a in $IN; do wr $a $FILE; done |
524 | |
525 | FILE=../${PRENAME}${COUNT}${NAME}-statedump.diff |
6a0dfeb5 |
526 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
527 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
528 | |
529 | IN="?_ltt_ltt-statedump.c" |
530 | |
531 | for a in $IN; do wr $a $FILE; done |
532 | |
533 | |
b05be313 |
534 | FILE=../${PRENAME}${COUNT}${NAME}-build.diff |
6a0dfeb5 |
535 | VALUE=$(( ${VALUE} + 1 )) |
59248316 |
536 | printf -v COUNT "%02d" ${VALUE} |
b05be313 |
537 | |
538 | IN="?_Makefile |
b05be313 |
539 | ?_ltt_Kconfig |
540 | ?_ltt_Makefile |
541 | ?_arch_alpha_Kconfig |
542 | ?_arch_cris_Kconfig |
543 | ?_arch_frv_Kconfig |
544 | ?_arch_h8300_Kconfig |
545 | ?_arch_i386_Kconfig |
546 | ?_arch_ia64_Kconfig |
547 | ?_arch_m32r_Kconfig |
548 | ?_arch_m68k_Kconfig |
549 | ?_arch_m68knommu_Kconfig |
550 | ?_arch_ppc_Kconfig |
551 | ?_arch_powerpc_Kconfig |
552 | ?_arch_parisc_Kconfig |
553 | ?_arch_arm_Kconfig |
554 | ?_arch_arm26_Kconfig |
555 | ?_arch_mips_Kconfig |
556 | ?_arch_s390_Kconfig |
557 | ?_arch_sh64_Kconfig |
558 | ?_arch_sh_Kconfig |
559 | ?_arch_sparc64_Kconfig |
560 | ?_arch_sparc_Kconfig |
561 | ?_arch_um_Kconfig |
562 | ?_arch_v850_Kconfig |
563 | ?_arch_xtensa_Kconfig |
564 | ?_arch_x86_64_Kconfig" |
565 | |
566 | for a in $IN; do wr $a $FILE; done |
567 | |
568 | |
569 | |
570 | cd .. |
571 | |
572 | rm $ALL_NAME |
ff8dd6e5 |
573 | tar cvfj ${PRENAME}${NAME}.tar.bz2 ${PRENAME}*${NAME}-* |
b05be313 |
574 | |