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