3 # Creates a -all patch, and split it.
4 # Mathieu Desnoyers, october 2005
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
=$
(( ${COUNT} + 1 ))
39 printf -v COUNT
"%02d" ${VALUE}
41 IN
="?_fs_debugfs_inode.c"
43 for a
in $IN; do wr
$a $FILE; done
45 FILE
=..
/${PRENAME}${COUNT}${NAME}-markers.
diff
46 VALUE
=$
(( ${COUNT} + 1 ))
47 printf -v COUNT
"%02d" ${VALUE}
49 IN
="?_include_asm-generic_vmlinux.lds.h
50 ?_kernel_Kconfig.marker
51 ?_include_linux_module.h
52 ?_include_linux_marker.h
53 ?_include_asm-arm_marker.h
54 ?_include_asm-cris_marker.h
55 ?_include_asm-frv_marker.h
56 ?_include_asm-generic_marker.h
57 ?_include_asm-h8300_marker.h
58 ?_include_asm-i386_marker.h
59 ?_include_asm-ia64_marker.h
60 ?_include_asm-m32r_marker.h
61 ?_include_asm-m68k_marker.h
62 ?_include_asm-m68knommu_marker.h
63 ?_include_asm-mips_marker.h
64 ?_include_asm-parisc_marker.h
65 ?_include_asm-powerpc_marker.h
66 ?_include_asm-ppc64_marker.h
67 ?_include_asm-ppc_marker.h
68 ?_include_asm-s390_marker.h
69 ?_include_asm-sh64_marker.h
70 ?_include_asm-sh_marker.h
71 ?_include_asm-sparc64_marker.h
72 ?_include_asm-sparc_marker.h
73 ?_include_asm-um_marker.h
74 ?_include_asm-v850_marker.h
75 ?_include_asm-x86_64_marker.h
76 ?_include_asm-xtensa_marker.h"
78 for a
in $IN; do wr
$a $FILE; done
81 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-core-headers.
diff
82 VALUE
=$
(( ${COUNT} + 1 ))
83 printf -v COUNT
"%02d" ${VALUE}
85 IN
="?_include_ltt_ltt-facility-core.h
86 ?_include_ltt_ltt-facility-id-core.h"
88 for a
in $IN; do wr
$a $FILE; done
91 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-loader-core.
diff
92 VALUE
=$
(( ${COUNT} + 1 ))
93 printf -v COUNT
"%02d" ${VALUE}
95 IN
="?_ltt_facilities_ltt-facility-loader-core.c
96 ?_ltt_facilities_ltt-facility-loader-core.h
97 ?_ltt_facilities_Makefile"
99 for a
in $IN; do wr
$a $FILE; done
101 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities.
diff
102 VALUE
=$
(( ${COUNT} + 1 ))
103 printf -v COUNT
"%02d" ${VALUE}
105 IN
="?_include_linux_ltt-facilities.h
106 ?_ltt_ltt-facilities.c"
108 for a
in $IN; do wr
$a $FILE; done
111 FILE
=..
/${PRENAME}${COUNT}${NAME}-timestamp.
diff
112 VALUE
=$
(( ${COUNT} + 1 ))
113 printf -v COUNT
"%02d" ${VALUE}
115 IN
="?_include_asm-alpha_ltt.h
116 ?_include_asm-arm26_ltt.h
117 ?_include_asm-arm_ltt.h
118 ?_include_asm-cris_ltt.h
119 ?_include_asm-frv_ltt.h
120 ?_include_asm-generic_ltt.h
121 ?_include_asm-h8300_ltt.h
122 ?_include_asm-i386_ltt.h
123 ?_include_asm-ia64_ltt.h
124 ?_include_asm-m32r_ltt.h
125 ?_include_asm-m68k_ltt.h
126 ?_include_asm-m68knommu_ltt.h
127 ?_include_asm-mips_ltt.h
128 ?_include_asm-mips_mipsregs.h
129 ?_include_asm-mips_timex.h
130 ?_arch_mips_kernel_time.c
131 ?_include_asm-parisc_ltt.h
132 ?_include_asm-powerpc_ltt.h
133 ?_include_asm-ppc_ltt.h
134 ?_include_asm-s390_ltt.h
135 ?_include_asm-sh64_ltt.h
136 ?_include_asm-sh_ltt.h
137 ?_include_asm-sparc64_ltt.h
138 ?_include_asm-sparc_ltt.h
139 ?_include_asm-um_ltt.h
140 ?_include_asm-v850_ltt.h
141 ?_include_asm-x86_64_ltt.h
142 ?_include_asm-xtensa_ltt.h"
144 for a
in $IN; do wr
$a $FILE; done
147 FILE
=..
/${PRENAME}${COUNT}${NAME}-core-header.
diff
148 VALUE
=$
(( ${COUNT} + 1 ))
149 printf -v COUNT
"%02d" ${VALUE}
151 IN
="?_include_linux_ltt-core.h"
153 for a
in $IN; do wr
$a $FILE; done
156 FILE
=..
/${PRENAME}${COUNT}${NAME}-core.
diff
157 VALUE
=$
(( ${COUNT} + 1 ))
158 printf -v COUNT
"%02d" ${VALUE}
162 ?_ltt_ltt-heartbeat.c"
164 for a
in $IN; do wr
$a $FILE; done
166 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer-header.
diff
167 VALUE
=$
(( ${COUNT} + 1 ))
168 printf -v COUNT
"%02d" ${VALUE}
170 IN
="?_include_ltt_ltt-tracer.h"
172 for a
in $IN; do wr
$a $FILE; done
175 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer.
diff
176 VALUE
=$
(( ${COUNT} + 1 ))
177 printf -v COUNT
"%02d" ${VALUE}
179 IN
="?_ltt_ltt-tracer.c"
181 for a
in $IN; do wr
$a $FILE; done
185 FILE
=..
/${PRENAME}${COUNT}${NAME}-transport.
diff
186 VALUE
=$
(( ${COUNT} + 1 ))
187 printf -v COUNT
"%02d" ${VALUE}
189 IN
="?_ltt_ltt-relay.c
190 ?_Documentation_ioctl-number.txt"
192 for a
in $IN; do wr
$a $FILE; done
196 FILE
=..
/${PRENAME}${COUNT}${NAME}-netlink-control.
diff
197 VALUE
=$
(( ${COUNT} + 1 ))
198 printf -v COUNT
"%02d" ${VALUE}
200 IN
="?_ltt_ltt-control.c
202 ?_include_linux_netlink.h"
204 for a
in $IN; do wr
$a $FILE; done
207 FILE
=..
/${PRENAME}${COUNT}${NAME}-userspace-tracing.
diff
208 VALUE
=$
(( ${COUNT} + 1 ))
209 printf -v COUNT
"%02d" ${VALUE}
211 IN
="?_include_linux_sched.h
216 ?_include_asm-i386_unistd.h
217 ?_include_asm-powerpc_unistd.h
218 ?_include_asm-x86_64_ia32_unistd.h
219 ?_include_asm-x86_64_unistd.h"
221 for a
in $IN; do wr
$a $FILE; done
223 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-arm.
diff
224 VALUE
=$
(( ${COUNT} + 1 ))
225 printf -v COUNT
"%02d" ${VALUE}
227 IN
="?_arch_arm_kernel_calls.S
228 ?_arch_arm_kernel_entry-common.S
229 ?_arch_arm_kernel_irq.c
230 ?_arch_arm_kernel_process.c
231 ?_arch_arm_kernel_ptrace.c
232 ?_arch_arm_kernel_sys_arm.c
233 ?_arch_arm_kernel_time.c
234 ?_arch_arm_kernel_traps.c
235 ?_include_asm-arm_irq.h"
237 for a
in $IN; do wr
$a $FILE; done
239 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-i386.
diff
240 VALUE
=$
(( ${COUNT} + 1 ))
241 printf -v COUNT
"%02d" ${VALUE}
243 IN
="?_arch_i386_kernel_process.c
244 ?_arch_i386_kernel_ptrace.c
245 ?_arch_i386_kernel_syscall_table.S
246 ?_arch_i386_kernel_sys_i386.c
247 ?_arch_i386_kernel_time.c
248 ?_arch_i386_kernel_traps.c"
250 for a
in $IN; do wr
$a $FILE; done
252 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-mips.
diff
253 VALUE
=$
(( ${COUNT} + 1 ))
254 printf -v COUNT
"%02d" ${VALUE}
256 IN
="?_arch_mips_kernel_irq.c
257 ?_arch_mips_kernel_process.c
258 ?_arch_mips_kernel_ptrace.c
259 ?_arch_mips_kernel_scall32-o32.S
260 ?_arch_mips_kernel_scall64-64.S
261 ?_arch_mips_kernel_scall64-n32.S
262 ?_arch_mips_kernel_scall64-o32.S
263 ?_arch_mips_kernel_syscall.c
264 ?_arch_mips_kernel_time.c
265 ?_arch_mips_kernel_traps.c
266 ?_arch_mips_kernel_unaligned.c
267 ?_arch_mips_mm_fault.c
268 ?_include_asm-mips_mipsregs.h"
270 for a
in $IN; do wr
$a $FILE; done
274 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-powerpc.
diff
275 VALUE
=$
(( ${COUNT} + 1 ))
276 printf -v COUNT
"%02d" ${VALUE}
278 IN
="?_arch_powerpc_kernel_entry_32.S
279 ?_arch_powerpc_kernel_irq.c
280 ?_arch_powerpc_kernel_misc_32.S
281 ?_arch_powerpc_kernel_misc_64.S
282 ?_arch_powerpc_kernel_ppc_ksyms.c
283 ?_arch_powerpc_kernel_process.c
284 ?_arch_powerpc_kernel_prom.c
285 ?_arch_powerpc_kernel_ptrace.c
286 ?_arch_powerpc_kernel_syscalls.c
287 ?_arch_powerpc_kernel_systbl.S
288 ?_arch_powerpc_kernel_time.c
289 ?_arch_powerpc_kernel_traps.c
290 ?_arch_powerpc_mm_fault.c"
292 for a
in $IN; do wr
$a $FILE; done
295 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-ppc.
diff
296 VALUE
=$
(( ${COUNT} + 1 ))
297 printf -v COUNT
"%02d" ${VALUE}
299 IN
="?_arch_ppc_Kconfig
300 ?_arch_ppc_kernel_misc.S
301 ?_arch_ppc_kernel_time.c
302 ?_arch_ppc_kernel_traps.c
303 ?_arch_ppc_mm_fault.c"
306 for a
in $IN; do wr
$a $FILE; done
309 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-x86_64.
diff
310 VALUE
=$
(( ${COUNT} + 1 ))
311 printf -v COUNT
"%02d" ${VALUE}
313 IN
="?_arch_x86_64_ia32_ia32entry.S
314 ?_arch_x86_64_ia32_ipc32.c
315 ?_arch_x86_64_kernel_entry.S
316 ?_arch_x86_64_kernel_ptrace.c
317 ?_arch_x86_64_kernel_time.c
318 ?_arch_x86_64_kernel_traps.c
319 ?_arch_x86_64_mm_fault.c"
321 for a
in $IN; do wr
$a $FILE; done
323 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation.
diff
324 VALUE
=$
(( ${COUNT} + 1 ))
325 printf -v COUNT
"%02d" ${VALUE}
338 ?_kernel_irq_handle.c
356 for a
in $IN; do wr
$a $FILE; done
358 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities-probes-headers.
diff
359 VALUE
=$
(( ${COUNT} + 1 ))
360 printf -v COUNT
"%02d" ${VALUE}
362 IN
="?_include_ltt_ltt-facility-custom-fs_data.h
363 ?_include_ltt_ltt-facility-custom-stack_arch_i386.h
364 ?_include_ltt_ltt-facility-custom-stack_arch_x86_64.h
365 ?_include_ltt_ltt-facility-custom-stack.h
366 ?_include_ltt_ltt-facility-fs_data.h
367 ?_include_ltt_ltt-facility-fs.h
368 ?_include_ltt_ltt-facility-id-fs_data.h
369 ?_include_ltt_ltt-facility-id-fs.h
370 ?_include_ltt_ltt-facility-id-ipc.h
371 ?_include_ltt_ltt-facility-id-kernel_arch_arm.h
372 ?_include_ltt_ltt-facility-id-kernel_arch_i386.h
373 ?_include_ltt_ltt-facility-id-kernel_arch_mips.h
374 ?_include_ltt_ltt-facility-id-kernel_arch_powerpc.h
375 ?_include_ltt_ltt-facility-id-kernel_arch_ppc.h
376 ?_include_ltt_ltt-facility-id-kernel_arch_x86_64.h
377 ?_include_ltt_ltt-facility-id-kernel.h
378 ?_include_ltt_ltt-facility-id-locking.h
379 ?_include_ltt_ltt-facility-id-memory.h
380 ?_include_ltt_ltt-facility-id-network.h
381 ?_include_ltt_ltt-facility-id-network_ip_interface.h
382 ?_include_ltt_ltt-facility-id-process.h
383 ?_include_ltt_ltt-facility-id-socket.h
384 ?_include_ltt_ltt-facility-id-stack_arch_i386.h
385 ?_include_ltt_ltt-facility-id-stack.h
386 ?_include_ltt_ltt-facility-id-statedump.h
387 ?_include_ltt_ltt-facility-id-timer.h
388 ?_include_ltt_ltt-facility-ipc.h
389 ?_include_ltt_ltt-facility-kernel_arch_arm.h
390 ?_include_ltt_ltt-facility-kernel_arch_i386.h
391 ?_include_ltt_ltt-facility-kernel_arch_mips.h
392 ?_include_ltt_ltt-facility-kernel_arch_powerpc.h
393 ?_include_ltt_ltt-facility-kernel_arch_ppc.h
394 ?_include_ltt_ltt-facility-kernel_arch_x86_64.h
395 ?_include_ltt_ltt-facility-kernel.h
396 ?_include_ltt_ltt-facility-locking.h
397 ?_include_ltt_ltt-facility-memory.h
398 ?_include_ltt_ltt-facility-network.h
399 ?_include_ltt_ltt-facility-network_ip_interface.h
400 ?_include_ltt_ltt-facility-process.h
401 ?_include_ltt_ltt-facility-select-core.h
402 ?_include_ltt_ltt-facility-select-default.h
403 ?_include_ltt_ltt-facility-select-kernel.h
404 ?_include_ltt_ltt-facility-select-network_ip_interface.h
405 ?_include_ltt_ltt-facility-select-process.h
406 ?_include_ltt_ltt-facility-select-statedump.h
407 ?_include_ltt_ltt-facility-socket.h
408 ?_include_ltt_ltt-facility-stack.h
409 ?_include_ltt_ltt-facility-statedump.h
410 ?_include_ltt_ltt-facility-timer.h"
412 for a
in $IN; do wr
$a $FILE; done
415 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities-probes.
diff
416 VALUE
=$
(( ${COUNT} + 1 ))
417 printf -v COUNT
"%02d" ${VALUE}
419 IN
="?_ltt_facilities_ltt-facility-loader-fs.c
420 ?_ltt_facilities_ltt-facility-loader-fs_data.c
421 ?_ltt_facilities_ltt-facility-loader-fs_data.h
422 ?_ltt_facilities_ltt-facility-loader-fs.h
423 ?_ltt_facilities_ltt-facility-loader-ipc.c
424 ?_ltt_facilities_ltt-facility-loader-ipc.h
425 ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.c
426 ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.h
427 ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.c
428 ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.h
429 ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.c
430 ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.h
431 ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.c
432 ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.h
433 ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.c
434 ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.h
435 ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.c
436 ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.h
437 ?_ltt_facilities_ltt-facility-loader-kernel.c
438 ?_ltt_facilities_ltt-facility-loader-kernel.h
439 ?_ltt_facilities_ltt-facility-loader-locking.c
440 ?_ltt_facilities_ltt-facility-loader-locking.h
441 ?_ltt_facilities_ltt-facility-loader-memory.c
442 ?_ltt_facilities_ltt-facility-loader-memory.h
443 ?_ltt_facilities_ltt-facility-loader-network.c
444 ?_ltt_facilities_ltt-facility-loader-network.h
445 ?_ltt_facilities_ltt-facility-loader-network_ip_interface.c
446 ?_ltt_facilities_ltt-facility-loader-network_ip_interface.h
447 ?_ltt_facilities_ltt-facility-loader-process.c
448 ?_ltt_facilities_ltt-facility-loader-process.h
449 ?_ltt_facilities_ltt-facility-loader-socket.c
450 ?_ltt_facilities_ltt-facility-loader-socket.h
451 ?_ltt_facilities_ltt-facility-loader-stack_arch_i386.c
452 ?_ltt_facilities_ltt-facility-loader-stack_arch_i386.h
453 ?_ltt_facilities_ltt-facility-loader-stack.c
454 ?_ltt_facilities_ltt-facility-loader-stack.h
455 ?_ltt_facilities_ltt-facility-loader-statedump.c
456 ?_ltt_facilities_ltt-facility-loader-statedump.h
457 ?_ltt_facilities_ltt-facility-loader-timer.c
458 ?_ltt_facilities_ltt-facility-loader-timer.h"
461 for a
in $IN; do wr
$a $FILE; done
464 FILE
=..
/${PRENAME}${COUNT}${NAME}-probes.
diff
465 VALUE
=$
(( ${COUNT} + 1 ))
466 printf -v COUNT
"%02d" ${VALUE}
468 IN
="?_ltt_probes_ltt-probe-arm.c
469 ?_ltt_probes_ltt-probe-fs.c
470 ?_ltt_probes_ltt-probe-i386.c
471 ?_ltt_probes_ltt-probe-ipc.c
472 ?_ltt_probes_ltt-probe-kernel.c
473 ?_ltt_probes_ltt-probe-list.c
474 ?_ltt_probes_ltt-probe-mips.c
475 ?_ltt_probes_ltt-probe-mm.c
476 ?_ltt_probes_ltt-probe-net.c
477 ?_ltt_probes_ltt-probe-powerpc.c
478 ?_ltt_probes_ltt-probe-ppc.c
479 ?_ltt_probes_ltt-probe-x86_64.c
480 ?_ltt_probes_Makefile"
482 for a
in $IN; do wr
$a $FILE; done
484 FILE
=..
/${PRENAME}${COUNT}${NAME}-statedump.
diff
485 VALUE
=$
(( ${COUNT} + 1 ))
486 printf -v COUNT
"%02d" ${VALUE}
488 IN
="?_ltt_ltt-statedump.c"
490 for a
in $IN; do wr
$a $FILE; done
493 FILE
=..
/${PRENAME}${COUNT}${NAME}-build.
diff
494 VALUE
=$
(( ${COUNT} + 1 ))
495 printf -v COUNT
"%02d" ${VALUE}
509 ?_arch_m68knommu_Kconfig
511 ?_arch_powerpc_Kconfig
512 ?_arch_parisc_Kconfig
519 ?_arch_sparc64_Kconfig
523 ?_arch_xtensa_Kconfig
524 ?_arch_x86_64_Kconfig"
526 for a
in $IN; do wr
$a $FILE; done
533 tar cvfj
${PRENAME}${NAME}.tar.bz2 ${PRENAME}*${NAME}-*
This page took 0.039033 seconds and 4 git commands to generate.