update scripts
[lttv.git] / scripts / lttng-6-split-script.sh
CommitLineData
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
7function wr () {
8
9 cat $1 >> $2
10
11}
12
13
14PRENAME=patch
38773ce9 15NAME=-2.6.20-lttng-$1
b05be313 16ALL_NAME=${PRENAME}${NAME}-all.diff
59248316 17VALUE=1
18printf -v COUNT "%02d" ${VALUE}
b05be313 19
20rm -fr tmppatch
21mkdir tmppatch
22
23cd tmppatch
24
25cp ../$ALL_NAME .
26
27splitdiff -a -d $ALL_NAME
28
29rm $ALL_NAME
30
31for 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;
35done
d21785c0 36
38773ce9 37#hotfix 2.6.20
38FILE=../${PRENAME}${COUNT}${NAME}-hotfix.diff
39VALUE=$(( ${VALUE} + 1 ))
40printf -v COUNT "%02d" ${VALUE}
41
65c63ebb 42IN="?_arch_powerpc_kernel_prom_parse.c
762c9a3a 43?_include_powerpc_prom.h
53da0edd 44?_include_asm-sparc64_tlb.h
dedec4bf 45?_kernel_time_clocksource.c
ad127dd6 46?_include_asm-ppc_ocp.h"
38773ce9 47
48for a in $IN; do wr $a $FILE; done
49
50
2eb20a5c 51#for hotplug
52FILE=../${PRENAME}${COUNT}${NAME}-relay.diff
53VALUE=$(( ${VALUE} + 1 ))
54printf -v COUNT "%02d" ${VALUE}
55
56IN="?_include_linux_relay.h
48edb02d 57?_kernel_relay.c
d11576c9 58?_Documentation_filesystems_relay.txt
48edb02d 59?_block_blktrace.c"
2eb20a5c 60
61for a in $IN; do wr $a $FILE; done
62
09e2393e 63#kprobes
64
65for a in $IN; do wr $a $FILE; done
66
67FILE=../${PRENAME}${COUNT}${NAME}-kprobes.diff
68VALUE=$(( ${VALUE} + 1 ))
69printf -v COUNT "%02d" ${VALUE}
70
71IN="?_include_linux_kprobes.h
72?_arch_i386_kernel_kprobes.c
73?_kernel_kprobes.c"
74
56db3cc6 75#Markers
76
77FILE=../${PRENAME}${COUNT}${NAME}-markers-kconfig.part1.diff
78VALUE=$(( ${VALUE} + 1 ))
79printf -v COUNT "%02d" ${VALUE}
80
81IN="?_kernel_Kconfig.marker"
82
83for a in $IN; do wr $a $FILE; done
84
85
86FILE=../${PRENAME}${COUNT}${NAME}-markers-generic.part1.diff
6a0dfeb5 87VALUE=$(( ${VALUE} + 1 ))
59248316 88printf -v COUNT "%02d" ${VALUE}
b05be313 89
90IN="?_include_asm-generic_vmlinux.lds.h
b05be313 91?_include_linux_module.h
56db3cc6 92?_include_linux_marker.h"
93
94for a in $IN; do wr $a $FILE; done
95
96
97FILE=../${PRENAME}${COUNT}${NAME}-markers-i386.diff
98VALUE=$(( ${VALUE} + 1 ))
99printf -v COUNT "%02d" ${VALUE}
100
b903145c 101IN="?_include_asm-i386_marker.h
ce1b576d 102?_arch_i386_kernel_marker.c
103?_arch_i386_kernel_Makefile"
56db3cc6 104
105for a in $IN; do wr $a $FILE; done
106
107
108
109FILE=../${PRENAME}${COUNT}${NAME}-markers-powerpc.diff
110VALUE=$(( ${VALUE} + 1 ))
111printf -v COUNT "%02d" ${VALUE}
112
113IN="?_include_asm-powerpc_marker.h"
114
115for a in $IN; do wr $a $FILE; done
116
117
118FILE=../${PRENAME}${COUNT}${NAME}-markers-non-opt-arch.diff
119VALUE=$(( ${VALUE} + 1 ))
120printf -v COUNT "%02d" ${VALUE}
121
122IN="?_include_asm-arm_marker.h
b05be313 123?_include_asm-cris_marker.h
124?_include_asm-frv_marker.h
125?_include_asm-generic_marker.h
126?_include_asm-h8300_marker.h
b05be313 127?_include_asm-ia64_marker.h
128?_include_asm-m32r_marker.h
129?_include_asm-m68k_marker.h
130?_include_asm-m68knommu_marker.h
131?_include_asm-mips_marker.h
132?_include_asm-parisc_marker.h
b05be313 133?_include_asm-ppc_marker.h
134?_include_asm-s390_marker.h
135?_include_asm-sh64_marker.h
136?_include_asm-sh_marker.h
137?_include_asm-sparc64_marker.h
138?_include_asm-sparc_marker.h
139?_include_asm-um_marker.h
140?_include_asm-v850_marker.h
141?_include_asm-x86_64_marker.h
142?_include_asm-xtensa_marker.h"
143
144for a in $IN; do wr $a $FILE; done
145
56db3cc6 146
56db3cc6 147#atomic
148
149FILE=../${PRENAME}${COUNT}${NAME}-atomic-alpha.diff
b08c5258 150VALUE=$(( ${VALUE} + 1 ))
151printf -v COUNT "%02d" ${VALUE}
152
56db3cc6 153IN="?_include_asm-alpha_atomic.h"
154
155for a in $IN; do wr $a $FILE; done
156
157
158FILE=../${PRENAME}${COUNT}${NAME}-atomic-generic-atomic_long.diff
159VALUE=$(( ${VALUE} + 1 ))
160printf -v COUNT "%02d" ${VALUE}
161
162IN="?_include_asm-generic_atomic.h"
163
164for a in $IN; do wr $a $FILE; done
165
166
167FILE=../${PRENAME}${COUNT}${NAME}-atomic-i386.diff
168VALUE=$(( ${VALUE} + 1 ))
169printf -v COUNT "%02d" ${VALUE}
170
171IN="?_include_asm-i386_atomic.h"
172
173for a in $IN; do wr $a $FILE; done
174
175FILE=../${PRENAME}${COUNT}${NAME}-atomic-ia64.diff
176VALUE=$(( ${VALUE} + 1 ))
177printf -v COUNT "%02d" ${VALUE}
178
179IN="?_include_asm-ia64_atomic.h"
180
181for a in $IN; do wr $a $FILE; done
182
183
184FILE=../${PRENAME}${COUNT}${NAME}-atomic-mips.diff
185VALUE=$(( ${VALUE} + 1 ))
186printf -v COUNT "%02d" ${VALUE}
187
188IN="?_include_asm-mips_atomic.h"
189
190for a in $IN; do wr $a $FILE; done
191
192
193FILE=../${PRENAME}${COUNT}${NAME}-atomic-parisc.diff
194VALUE=$(( ${VALUE} + 1 ))
195printf -v COUNT "%02d" ${VALUE}
196
197IN="?_include_asm-parisc_atomic.h"
ee8d3673 198
199for a in $IN; do wr $a $FILE; done
200
56db3cc6 201FILE=../${PRENAME}${COUNT}${NAME}-atomic-powerpc.diff
ee8d3673 202VALUE=$(( ${VALUE} + 1 ))
203printf -v COUNT "%02d" ${VALUE}
204
38773ce9 205IN="?_include_asm-powerpc_atomic.h
206?_include_asm-powerpc_bitops.h
207?_include_asm-powerpc_system.h"
56db3cc6 208
209for a in $IN; do wr $a $FILE; done
210
211
212FILE=../${PRENAME}${COUNT}${NAME}-atomic-sparc64.diff
213VALUE=$(( ${VALUE} + 1 ))
214printf -v COUNT "%02d" ${VALUE}
215
216IN="?_include_asm-sparc64_atomic.h"
217
218for a in $IN; do wr $a $FILE; done
219
e6d871b7 220FILE=../${PRENAME}${COUNT}${NAME}-atomic-s390.diff
221VALUE=$(( ${VALUE} + 1 ))
222printf -v COUNT "%02d" ${VALUE}
223
224IN="?_include_asm-s390_atomic.h"
225
226for a in $IN; do wr $a $FILE; done
56db3cc6 227
228FILE=../${PRENAME}${COUNT}${NAME}-atomic-x86_64.diff
229VALUE=$(( ${VALUE} + 1 ))
230printf -v COUNT "%02d" ${VALUE}
231
232IN="?_include_asm-x86_64_atomic.h"
233
234for a in $IN; do wr $a $FILE; done
235
236
237
238#local
239
240FILE=../${PRENAME}${COUNT}${NAME}-local-generic.diff
241VALUE=$(( ${VALUE} + 1 ))
242printf -v COUNT "%02d" ${VALUE}
243
244IN="?_include_asm-generic_local.h"
245
246for a in $IN; do wr $a $FILE; done
247
248
249FILE=../${PRENAME}${COUNT}${NAME}-local-alpha.diff
250VALUE=$(( ${VALUE} + 1 ))
251printf -v COUNT "%02d" ${VALUE}
252
253IN="?_include_asm-alpha_local.h
254?_include_asm-alpha_system.h"
255
256for a in $IN; do wr $a $FILE; done
257
258
259FILE=../${PRENAME}${COUNT}${NAME}-local-i386.diff
260VALUE=$(( ${VALUE} + 1 ))
261printf -v COUNT "%02d" ${VALUE}
262
263IN="?_include_asm-i386_local.h
264?_include_asm-i386_system.h"
265
266for a in $IN; do wr $a $FILE; done
267
268
269FILE=../${PRENAME}${COUNT}${NAME}-local-ia64.diff
270VALUE=$(( ${VALUE} + 1 ))
271printf -v COUNT "%02d" ${VALUE}
272
273IN="?_include_asm-ia64_local.h"
274
275for a in $IN; do wr $a $FILE; done
276
277
278FILE=../${PRENAME}${COUNT}${NAME}-local-mips.diff
279VALUE=$(( ${VALUE} + 1 ))
280printf -v COUNT "%02d" ${VALUE}
281
282IN="?_include_asm-mips_local.h
283?_include_asm-mips_system.h"
284
285for a in $IN; do wr $a $FILE; done
286
287
288FILE=../${PRENAME}${COUNT}${NAME}-local-parisc.diff
289VALUE=$(( ${VALUE} + 1 ))
290printf -v COUNT "%02d" ${VALUE}
291
292IN="?_include_asm-parisc_local.h"
293
294for a in $IN; do wr $a $FILE; done
295
296
297FILE=../${PRENAME}${COUNT}${NAME}-local-powerpc.diff
298VALUE=$(( ${VALUE} + 1 ))
299printf -v COUNT "%02d" ${VALUE}
300
301IN="?_include_asm-powerpc_local.h
302?_include_asm-powerpc_system.h"
303
304for a in $IN; do wr $a $FILE; done
305
306
307FILE=../${PRENAME}${COUNT}${NAME}-local-s390.diff
308VALUE=$(( ${VALUE} + 1 ))
309printf -v COUNT "%02d" ${VALUE}
310
311IN="?_include_asm-s390_local.h"
312
313for a in $IN; do wr $a $FILE; done
314
315
316FILE=../${PRENAME}${COUNT}${NAME}-local-sparc64.diff
317VALUE=$(( ${VALUE} + 1 ))
318printf -v COUNT "%02d" ${VALUE}
319
320IN="?_include_asm-sparc64_local.h"
321
322for a in $IN; do wr $a $FILE; done
323
324
325FILE=../${PRENAME}${COUNT}${NAME}-local-x86_64.diff
326VALUE=$(( ${VALUE} + 1 ))
327printf -v COUNT "%02d" ${VALUE}
328
329IN="?_include_asm-x86_64_local.h
330?_include_asm-x86_64_system.h"
331
332
333#facilities
b08c5258 334
335for a in $IN; do wr $a $FILE; done
b05be313 336
0452be20 337FILE=../${PRENAME}${COUNT}${NAME}-facilities.diff
338VALUE=$(( ${VALUE} + 1 ))
339printf -v COUNT "%02d" ${VALUE}
340
341IN="?_include_linux_ltt-facilities.h
342?_ltt_ltt-facilities.c"
343
344for a in $IN; do wr $a $FILE; done
345
b05be313 346FILE=../${PRENAME}${COUNT}${NAME}-facility-core-headers.diff
6a0dfeb5 347VALUE=$(( ${VALUE} + 1 ))
59248316 348printf -v COUNT "%02d" ${VALUE}
b05be313 349
350IN="?_include_ltt_ltt-facility-core.h
9f438fac 351?_include_ltt_ltt-facility-id-core.h
352?_include_ltt_ltt-facility-select-core.h"
b05be313 353
354for a in $IN; do wr $a $FILE; done
355
356
357FILE=../${PRENAME}${COUNT}${NAME}-facility-loader-core.diff
6a0dfeb5 358VALUE=$(( ${VALUE} + 1 ))
59248316 359printf -v COUNT "%02d" ${VALUE}
b05be313 360
361IN="?_ltt_facilities_ltt-facility-loader-core.c
362?_ltt_facilities_ltt-facility-loader-core.h
363?_ltt_facilities_Makefile"
364
365for a in $IN; do wr $a $FILE; done
366
b05be313 367
368FILE=../${PRENAME}${COUNT}${NAME}-timestamp.diff
6a0dfeb5 369VALUE=$(( ${VALUE} + 1 ))
59248316 370printf -v COUNT "%02d" ${VALUE}
b05be313 371
372IN="?_include_asm-alpha_ltt.h
373?_include_asm-arm26_ltt.h
374?_include_asm-arm_ltt.h
375?_include_asm-cris_ltt.h
376?_include_asm-frv_ltt.h
377?_include_asm-generic_ltt.h
378?_include_asm-h8300_ltt.h
379?_include_asm-i386_ltt.h
380?_include_asm-ia64_ltt.h
381?_include_asm-m32r_ltt.h
382?_include_asm-m68k_ltt.h
383?_include_asm-m68knommu_ltt.h
384?_include_asm-mips_ltt.h
b05be313 385?_include_asm-mips_timex.h
386?_arch_mips_kernel_time.c
387?_include_asm-parisc_ltt.h
388?_include_asm-powerpc_ltt.h
389?_include_asm-ppc_ltt.h
390?_include_asm-s390_ltt.h
391?_include_asm-sh64_ltt.h
392?_include_asm-sh_ltt.h
393?_include_asm-sparc64_ltt.h
394?_include_asm-sparc_ltt.h
395?_include_asm-um_ltt.h
396?_include_asm-v850_ltt.h
397?_include_asm-x86_64_ltt.h
398?_include_asm-xtensa_ltt.h"
399
400for a in $IN; do wr $a $FILE; done
401
402
403FILE=../${PRENAME}${COUNT}${NAME}-core-header.diff
6a0dfeb5 404VALUE=$(( ${VALUE} + 1 ))
59248316 405printf -v COUNT "%02d" ${VALUE}
b05be313 406
407IN="?_include_linux_ltt-core.h"
408
409for a in $IN; do wr $a $FILE; done
410
411
412FILE=../${PRENAME}${COUNT}${NAME}-core.diff
6a0dfeb5 413VALUE=$(( ${VALUE} + 1 ))
59248316 414printf -v COUNT "%02d" ${VALUE}
b05be313 415
416IN="?_MAINTAINERS
417?_ltt_ltt-core.c
418?_ltt_ltt-heartbeat.c"
419
420for a in $IN; do wr $a $FILE; done
421
422FILE=../${PRENAME}${COUNT}${NAME}-tracer-header.diff
6a0dfeb5 423VALUE=$(( ${VALUE} + 1 ))
59248316 424printf -v COUNT "%02d" ${VALUE}
b05be313 425
426IN="?_include_ltt_ltt-tracer.h"
427
428for a in $IN; do wr $a $FILE; done
429
430
431FILE=../${PRENAME}${COUNT}${NAME}-tracer.diff
6a0dfeb5 432VALUE=$(( ${VALUE} + 1 ))
59248316 433printf -v COUNT "%02d" ${VALUE}
b05be313 434
435IN="?_ltt_ltt-tracer.c"
436
437for a in $IN; do wr $a $FILE; done
438
439
440
441FILE=../${PRENAME}${COUNT}${NAME}-transport.diff
6a0dfeb5 442VALUE=$(( ${VALUE} + 1 ))
59248316 443printf -v COUNT "%02d" ${VALUE}
b05be313 444
445IN="?_ltt_ltt-relay.c
446?_Documentation_ioctl-number.txt"
447
448for a in $IN; do wr $a $FILE; done
449
450
451
452FILE=../${PRENAME}${COUNT}${NAME}-netlink-control.diff
6a0dfeb5 453VALUE=$(( ${VALUE} + 1 ))
59248316 454printf -v COUNT "%02d" ${VALUE}
b05be313 455
456IN="?_ltt_ltt-control.c
457?_ltt_ltt-control.h
458?_include_linux_netlink.h"
459
460for a in $IN; do wr $a $FILE; done
461
462
463FILE=../${PRENAME}${COUNT}${NAME}-userspace-tracing.diff
6a0dfeb5 464VALUE=$(( ${VALUE} + 1 ))
59248316 465printf -v COUNT "%02d" ${VALUE}
b05be313 466
467IN="?_include_linux_sched.h
468?_kernel_sys_ni.c
469?_ltt_ltt-syscall.c
470?_kernel_exit.c
471?_kernel_fork.c
d06e43ce 472?_include_asm-arm_unistd.h
b05be313 473?_include_asm-i386_unistd.h
d06e43ce 474?_include_asm-mips_unistd.h
b05be313 475?_include_asm-powerpc_unistd.h
37ad9911 476?_include_asm-powerpc_systbl.h
e7a7fdac 477?_include_asm-x86_64_unistd.h"
b05be313 478
479for a in $IN; do wr $a $FILE; done
480
481FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-arm.diff
6a0dfeb5 482VALUE=$(( ${VALUE} + 1 ))
59248316 483printf -v COUNT "%02d" ${VALUE}
b05be313 484
485IN="?_arch_arm_kernel_calls.S
486?_arch_arm_kernel_entry-common.S
b05be313 487?_arch_arm_kernel_process.c
488?_arch_arm_kernel_ptrace.c
489?_arch_arm_kernel_sys_arm.c
490?_arch_arm_kernel_time.c
65c63ebb 491?_arch_arm_kernel_traps.c
492?_include_asm-arm_thread_info.h"
b05be313 493
494for a in $IN; do wr $a $FILE; done
495
496FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-i386.diff
6a0dfeb5 497VALUE=$(( ${VALUE} + 1 ))
59248316 498printf -v COUNT "%02d" ${VALUE}
b05be313 499
500IN="?_arch_i386_kernel_process.c
501?_arch_i386_kernel_ptrace.c
502?_arch_i386_kernel_syscall_table.S
503?_arch_i386_kernel_sys_i386.c
504?_arch_i386_kernel_time.c
301ad7de 505?_arch_i386_kernel_traps.c
506?_arch_i386_mm_fault.c"
b05be313 507
508for a in $IN; do wr $a $FILE; done
509
510FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-mips.diff
6a0dfeb5 511VALUE=$(( ${VALUE} + 1 ))
59248316 512printf -v COUNT "%02d" ${VALUE}
b05be313 513
8003761f 514IN="?_arch_mips_kernel_process.c
b05be313 515?_arch_mips_kernel_ptrace.c
b05be313 516?_arch_mips_kernel_syscall.c
b05be313 517?_arch_mips_kernel_traps.c
518?_arch_mips_kernel_unaligned.c
d06e43ce 519?_include_asm-mips_mipsregs.h
520?_arch_mips_kernel_scall32-o32.S
521?_arch_mips_kernel_scall64-64.S
522?_arch_mips_kernel_scall64-n32.S
301ad7de 523?_arch_mips_kernel_scall64-o32.S
524?_arch_mips_mm_fault.c"
b05be313 525
526for a in $IN; do wr $a $FILE; done
527
528
529
530FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-powerpc.diff
6a0dfeb5 531VALUE=$(( ${VALUE} + 1 ))
59248316 532printf -v COUNT "%02d" ${VALUE}
b05be313 533
8003761f 534IN="?_arch_powerpc_kernel_irq.c
b05be313 535?_arch_powerpc_kernel_misc_32.S
536?_arch_powerpc_kernel_misc_64.S
537?_arch_powerpc_kernel_ppc_ksyms.c
538?_arch_powerpc_kernel_process.c
539?_arch_powerpc_kernel_prom.c
540?_arch_powerpc_kernel_ptrace.c
541?_arch_powerpc_kernel_syscalls.c
b05be313 542?_arch_powerpc_kernel_time.c
301ad7de 543?_arch_powerpc_kernel_traps.c
544?_arch_powerpc_mm_fault.c"
b05be313 545
546for a in $IN; do wr $a $FILE; done
547
548
549FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-ppc.diff
6a0dfeb5 550VALUE=$(( ${VALUE} + 1 ))
59248316 551printf -v COUNT "%02d" ${VALUE}
b05be313 552
e8c4df0a 553IN="?_arch_ppc_kernel_misc.S
b05be313 554?_arch_ppc_kernel_time.c
301ad7de 555?_arch_ppc_kernel_traps.c
556?_arch_ppc_mm_fault.c"
b05be313 557
558
559for a in $IN; do wr $a $FILE; done
560
561
562FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-x86_64.diff
6a0dfeb5 563VALUE=$(( ${VALUE} + 1 ))
59248316 564printf -v COUNT "%02d" ${VALUE}
b05be313 565
566IN="?_arch_x86_64_ia32_ia32entry.S
567?_arch_x86_64_ia32_ipc32.c
568?_arch_x86_64_kernel_entry.S
0207bc6f 569?_arch_x86_64_kernel_process.c
b05be313 570?_arch_x86_64_kernel_ptrace.c
571?_arch_x86_64_kernel_time.c
301ad7de 572?_arch_x86_64_kernel_traps.c
573?_arch_x86_64_mm_fault.c"
b05be313 574
575for a in $IN; do wr $a $FILE; done
576
65c63ebb 577#limited
578FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-m68k.diff
579VALUE=$(( ${VALUE} + 1 ))
580printf -v COUNT "%02d" ${VALUE}
581
582IN="?_include_asm-m68k_thread_info.h"
583
584for a in $IN; do wr $a $FILE; done
585
586#limited
587FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-m68knommu.diff
588VALUE=$(( ${VALUE} + 1 ))
589printf -v COUNT "%02d" ${VALUE}
590
591IN="?_include_asm-m68knommu_thread_info.h
592?_arch_m68knommu_platform_68328_entry.S"
593
594for a in $IN; do wr $a $FILE; done
595
596
597#limited
598FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sparc.diff
599VALUE=$(( ${VALUE} + 1 ))
600printf -v COUNT "%02d" ${VALUE}
601
602IN="?_include_asm-sparc_thread_info.h
603?_arch_sparc_kernel_entry.S"
604
605for a in $IN; do wr $a $FILE; done
606
607#limited
608FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-s390.diff
609VALUE=$(( ${VALUE} + 1 ))
610printf -v COUNT "%02d" ${VALUE}
611
612IN="?_arch_s390_kernel_traps.c
613?_arch_s390_mm_fault.c"
614
615for a in $IN; do wr $a $FILE; done
616
617#limited
618FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sh.diff
619VALUE=$(( ${VALUE} + 1 ))
620printf -v COUNT "%02d" ${VALUE}
621
622IN="?_arch_sh_kernel_entry-common.S
623?_arch_sh_kernel_irq.c
624?_arch_sh_kernel_process.c
625?_arch_sh_kernel_sys_sh.c
626?_arch_sh_kernel_traps.c
627?_arch_sh_mm_fault.c
628?_include_asm-sh_thread_info.h"
629
630for a in $IN; do wr $a $FILE; done
631
632#limited
633FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-sh64.diff
634VALUE=$(( ${VALUE} + 1 ))
635printf -v COUNT "%02d" ${VALUE}
636
637IN="?_arch_sh64_kernel_entry.S
638?_include_asm-sh64_thread_info.h"
639
640for a in $IN; do wr $a $FILE; done
641
56db3cc6 642
b05be313 643FILE=../${PRENAME}${COUNT}${NAME}-instrumentation.diff
6a0dfeb5 644VALUE=$(( ${VALUE} + 1 ))
59248316 645printf -v COUNT "%02d" ${VALUE}
b05be313 646
647IN="?_fs_buffer.c
648?_fs_compat.c
b05be313 649?_fs_exec.c
650?_fs_ioctl.c
651?_fs_open.c
652?_fs_read_write.c
653?_fs_select.c
654?_ipc_msg.c
655?_ipc_sem.c
656?_ipc_shm.c
657?_kernel_irq_handle.c
658?_kernel_itimer.c
659?_kernel_kthread.c
e551ca2a 660?_kernel_lockdep.c
b05be313 661?_kernel_printk.c
662?_kernel_sched.c
663?_kernel_signal.c
664?_kernel_softirq.c
665?_kernel_timer.c
666?_mm_filemap.c
667?_mm_memory.c
668?_mm_page_alloc.c
669?_mm_page_io.c
670?_net_core_dev.c
671?_net_ipv4_devinet.c
672?_net_socket.c"
673
674for a in $IN; do wr $a $FILE; done
675
56db3cc6 676
677FILE=../${PRENAME}${COUNT}${NAME}-instrumentation-markers.tosplit.diff
678VALUE=$(( ${VALUE} + 1 ))
679printf -v COUNT "%02d" ${VALUE}
680
681IN="?_kernel_module.c"
682
683for a in $IN; do wr $a $FILE; done
684
685
686
b05be313 687FILE=../${PRENAME}${COUNT}${NAME}-facilities-probes-headers.diff
6a0dfeb5 688VALUE=$(( ${VALUE} + 1 ))
59248316 689printf -v COUNT "%02d" ${VALUE}
b05be313 690
691IN="?_include_ltt_ltt-facility-custom-fs_data.h
692?_include_ltt_ltt-facility-custom-stack_arch_i386.h
693?_include_ltt_ltt-facility-custom-stack_arch_x86_64.h
694?_include_ltt_ltt-facility-custom-stack.h
695?_include_ltt_ltt-facility-fs_data.h
696?_include_ltt_ltt-facility-fs.h
697?_include_ltt_ltt-facility-id-fs_data.h
698?_include_ltt_ltt-facility-id-fs.h
699?_include_ltt_ltt-facility-id-ipc.h
700?_include_ltt_ltt-facility-id-kernel_arch_arm.h
701?_include_ltt_ltt-facility-id-kernel_arch_i386.h
702?_include_ltt_ltt-facility-id-kernel_arch_mips.h
703?_include_ltt_ltt-facility-id-kernel_arch_powerpc.h
704?_include_ltt_ltt-facility-id-kernel_arch_ppc.h
705?_include_ltt_ltt-facility-id-kernel_arch_x86_64.h
706?_include_ltt_ltt-facility-id-kernel.h
707?_include_ltt_ltt-facility-id-locking.h
708?_include_ltt_ltt-facility-id-memory.h
709?_include_ltt_ltt-facility-id-network.h
710?_include_ltt_ltt-facility-id-network_ip_interface.h
711?_include_ltt_ltt-facility-id-process.h
712?_include_ltt_ltt-facility-id-socket.h
713?_include_ltt_ltt-facility-id-stack_arch_i386.h
714?_include_ltt_ltt-facility-id-stack.h
715?_include_ltt_ltt-facility-id-statedump.h
716?_include_ltt_ltt-facility-id-timer.h
717?_include_ltt_ltt-facility-ipc.h
718?_include_ltt_ltt-facility-kernel_arch_arm.h
719?_include_ltt_ltt-facility-kernel_arch_i386.h
720?_include_ltt_ltt-facility-kernel_arch_mips.h
721?_include_ltt_ltt-facility-kernel_arch_powerpc.h
722?_include_ltt_ltt-facility-kernel_arch_ppc.h
723?_include_ltt_ltt-facility-kernel_arch_x86_64.h
724?_include_ltt_ltt-facility-kernel.h
725?_include_ltt_ltt-facility-locking.h
726?_include_ltt_ltt-facility-memory.h
727?_include_ltt_ltt-facility-network.h
728?_include_ltt_ltt-facility-network_ip_interface.h
729?_include_ltt_ltt-facility-process.h
b05be313 730?_include_ltt_ltt-facility-select-default.h
731?_include_ltt_ltt-facility-select-kernel.h
732?_include_ltt_ltt-facility-select-network_ip_interface.h
733?_include_ltt_ltt-facility-select-process.h
734?_include_ltt_ltt-facility-select-statedump.h
735?_include_ltt_ltt-facility-socket.h
736?_include_ltt_ltt-facility-stack.h
737?_include_ltt_ltt-facility-statedump.h
967d5617 738?_include_ltt_ltt-facility-timer.h
739?_include_ltt_ltt-stack.h"
b05be313 740
741for a in $IN; do wr $a $FILE; done
742
743
744FILE=../${PRENAME}${COUNT}${NAME}-facilities-probes.diff
6a0dfeb5 745VALUE=$(( ${VALUE} + 1 ))
59248316 746printf -v COUNT "%02d" ${VALUE}
b05be313 747
748IN="?_ltt_facilities_ltt-facility-loader-fs.c
749?_ltt_facilities_ltt-facility-loader-fs_data.c
750?_ltt_facilities_ltt-facility-loader-fs_data.h
751?_ltt_facilities_ltt-facility-loader-fs.h
752?_ltt_facilities_ltt-facility-loader-ipc.c
753?_ltt_facilities_ltt-facility-loader-ipc.h
754?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.c
755?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.h
756?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.c
757?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.h
758?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.c
759?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.h
760?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.c
761?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.h
762?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.c
763?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.h
764?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.c
765?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.h
766?_ltt_facilities_ltt-facility-loader-kernel.c
767?_ltt_facilities_ltt-facility-loader-kernel.h
768?_ltt_facilities_ltt-facility-loader-locking.c
769?_ltt_facilities_ltt-facility-loader-locking.h
770?_ltt_facilities_ltt-facility-loader-memory.c
771?_ltt_facilities_ltt-facility-loader-memory.h
772?_ltt_facilities_ltt-facility-loader-network.c
773?_ltt_facilities_ltt-facility-loader-network.h
774?_ltt_facilities_ltt-facility-loader-network_ip_interface.c
775?_ltt_facilities_ltt-facility-loader-network_ip_interface.h
776?_ltt_facilities_ltt-facility-loader-process.c
777?_ltt_facilities_ltt-facility-loader-process.h
778?_ltt_facilities_ltt-facility-loader-socket.c
779?_ltt_facilities_ltt-facility-loader-socket.h
b05be313 780?_ltt_facilities_ltt-facility-loader-stack.c
781?_ltt_facilities_ltt-facility-loader-stack.h
782?_ltt_facilities_ltt-facility-loader-statedump.c
783?_ltt_facilities_ltt-facility-loader-statedump.h
784?_ltt_facilities_ltt-facility-loader-timer.c
967d5617 785?_ltt_facilities_ltt-facility-loader-timer.h
786?_ltt_ltt-stack.c"
b05be313 787
788
789for a in $IN; do wr $a $FILE; done
790
791
792FILE=../${PRENAME}${COUNT}${NAME}-probes.diff
6a0dfeb5 793VALUE=$(( ${VALUE} + 1 ))
59248316 794printf -v COUNT "%02d" ${VALUE}
b05be313 795
796IN="?_ltt_probes_ltt-probe-arm.c
797?_ltt_probes_ltt-probe-fs.c
798?_ltt_probes_ltt-probe-i386.c
799?_ltt_probes_ltt-probe-ipc.c
800?_ltt_probes_ltt-probe-kernel.c
801?_ltt_probes_ltt-probe-list.c
e551ca2a 802?_ltt_probes_ltt-probe-locking.c
b05be313 803?_ltt_probes_ltt-probe-mips.c
804?_ltt_probes_ltt-probe-mm.c
805?_ltt_probes_ltt-probe-net.c
806?_ltt_probes_ltt-probe-powerpc.c
807?_ltt_probes_ltt-probe-ppc.c
808?_ltt_probes_ltt-probe-x86_64.c
809?_ltt_probes_Makefile"
810
811for a in $IN; do wr $a $FILE; done
812
813FILE=../${PRENAME}${COUNT}${NAME}-statedump.diff
6a0dfeb5 814VALUE=$(( ${VALUE} + 1 ))
59248316 815printf -v COUNT "%02d" ${VALUE}
b05be313 816
817IN="?_ltt_ltt-statedump.c"
818
819for a in $IN; do wr $a $FILE; done
820
821
56db3cc6 822FILE=../${PRENAME}${COUNT}${NAME}-build.tosplit.diff
6a0dfeb5 823VALUE=$(( ${VALUE} + 1 ))
59248316 824printf -v COUNT "%02d" ${VALUE}
b05be313 825
826IN="?_Makefile
b05be313 827?_ltt_Kconfig
828?_ltt_Makefile
829?_arch_alpha_Kconfig
65c63ebb 830?_arch_arm26_Kconfig
831?_arch_arm_Kconfig
b05be313 832?_arch_cris_Kconfig
833?_arch_frv_Kconfig
834?_arch_h8300_Kconfig
835?_arch_i386_Kconfig
836?_arch_ia64_Kconfig
837?_arch_m32r_Kconfig
838?_arch_m68k_Kconfig
839?_arch_m68knommu_Kconfig
840?_arch_ppc_Kconfig
841?_arch_powerpc_Kconfig
842?_arch_parisc_Kconfig
b05be313 843?_arch_mips_Kconfig
844?_arch_s390_Kconfig
845?_arch_sh64_Kconfig
846?_arch_sh_Kconfig
847?_arch_sparc64_Kconfig
848?_arch_sparc_Kconfig
849?_arch_um_Kconfig
850?_arch_v850_Kconfig
851?_arch_xtensa_Kconfig
852?_arch_x86_64_Kconfig"
853
854for a in $IN; do wr $a $FILE; done
855
856
857
858cd ..
859
860rm $ALL_NAME
ff8dd6e5 861tar cvfj ${PRENAME}${NAME}.tar.bz2 ${PRENAME}*${NAME}-*
b05be313 862
This page took 0.06935 seconds and 4 git commands to generate.