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
=$
(( ${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
53 for a
in $IN; do wr
$a $FILE; done
55 FILE
=..
/${PRENAME}${COUNT}${NAME}-markers.
diff
56 VALUE
=$
(( ${VALUE} + 1 ))
57 printf -v COUNT
"%02d" ${VALUE}
59 IN
="?_include_asm-generic_vmlinux.lds.h
60 ?_kernel_Kconfig.marker
61 ?_include_linux_module.h
62 ?_include_linux_marker.h
63 ?_include_asm-arm_marker.h
64 ?_include_asm-cris_marker.h
65 ?_include_asm-frv_marker.h
66 ?_include_asm-generic_marker.h
67 ?_include_asm-h8300_marker.h
68 ?_include_asm-i386_marker.h
69 ?_include_asm-ia64_marker.h
70 ?_include_asm-m32r_marker.h
71 ?_include_asm-m68k_marker.h
72 ?_include_asm-m68knommu_marker.h
73 ?_include_asm-mips_marker.h
74 ?_include_asm-parisc_marker.h
75 ?_include_asm-powerpc_marker.h
76 ?_include_asm-ppc64_marker.h
77 ?_include_asm-ppc_marker.h
78 ?_include_asm-s390_marker.h
79 ?_include_asm-sh64_marker.h
80 ?_include_asm-sh_marker.h
81 ?_include_asm-sparc64_marker.h
82 ?_include_asm-sparc_marker.h
83 ?_include_asm-um_marker.h
84 ?_include_asm-v850_marker.h
85 ?_include_asm-x86_64_marker.h
86 ?_include_asm-xtensa_marker.h"
88 for a
in $IN; do wr
$a $FILE; done
90 FILE
=..
/${PRENAME}${COUNT}${NAME}-atomic_up.
diff
91 VALUE
=$
(( ${VALUE} + 1 ))
92 printf -v COUNT
"%02d" ${VALUE}
94 IN
="?_include_asm-i386_atomic-up.h
95 ?_include_asm-i386_system.h
96 ?_include_asm-x86_64_atomic-up.h
97 ?_include_asm-x86_64_system.h
98 ?_include_asm-powerpc_atomic-up.h
99 ?_include_asm-powerpc_system.h
100 ?_include_asm-arm_atomic-up.h
101 ?_include_asm-mips_atomic-up.h
102 ?_include_asm-generic_atomic-up.h"
104 for a
in $IN; do wr
$a $FILE; done
106 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-core-headers.
diff
107 VALUE
=$
(( ${VALUE} + 1 ))
108 printf -v COUNT
"%02d" ${VALUE}
110 IN
="?_include_ltt_ltt-facility-core.h
111 ?_include_ltt_ltt-facility-id-core.h"
113 for a
in $IN; do wr
$a $FILE; done
116 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-loader-core.
diff
117 VALUE
=$
(( ${VALUE} + 1 ))
118 printf -v COUNT
"%02d" ${VALUE}
120 IN
="?_ltt_facilities_ltt-facility-loader-core.c
121 ?_ltt_facilities_ltt-facility-loader-core.h
122 ?_ltt_facilities_Makefile"
124 for a
in $IN; do wr
$a $FILE; done
126 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities.
diff
127 VALUE
=$
(( ${VALUE} + 1 ))
128 printf -v COUNT
"%02d" ${VALUE}
130 IN
="?_include_linux_ltt-facilities.h
131 ?_ltt_ltt-facilities.c"
133 for a
in $IN; do wr
$a $FILE; done
136 FILE
=..
/${PRENAME}${COUNT}${NAME}-timestamp.
diff
137 VALUE
=$
(( ${VALUE} + 1 ))
138 printf -v COUNT
"%02d" ${VALUE}
140 IN
="?_include_asm-alpha_ltt.h
141 ?_include_asm-arm26_ltt.h
142 ?_include_asm-arm_ltt.h
143 ?_include_asm-cris_ltt.h
144 ?_include_asm-frv_ltt.h
145 ?_include_asm-generic_ltt.h
146 ?_include_asm-h8300_ltt.h
147 ?_include_asm-i386_ltt.h
148 ?_include_asm-ia64_ltt.h
149 ?_include_asm-m32r_ltt.h
150 ?_include_asm-m68k_ltt.h
151 ?_include_asm-m68knommu_ltt.h
152 ?_include_asm-mips_ltt.h
153 ?_include_asm-mips_mipsregs.h
154 ?_include_asm-mips_timex.h
155 ?_arch_mips_kernel_time.c
156 ?_include_asm-parisc_ltt.h
157 ?_include_asm-powerpc_ltt.h
158 ?_include_asm-ppc_ltt.h
159 ?_include_asm-s390_ltt.h
160 ?_include_asm-sh64_ltt.h
161 ?_include_asm-sh_ltt.h
162 ?_include_asm-sparc64_ltt.h
163 ?_include_asm-sparc_ltt.h
164 ?_include_asm-um_ltt.h
165 ?_include_asm-v850_ltt.h
166 ?_include_asm-x86_64_ltt.h
167 ?_include_asm-xtensa_ltt.h"
169 for a
in $IN; do wr
$a $FILE; done
172 FILE
=..
/${PRENAME}${COUNT}${NAME}-core-header.
diff
173 VALUE
=$
(( ${VALUE} + 1 ))
174 printf -v COUNT
"%02d" ${VALUE}
176 IN
="?_include_linux_ltt-core.h"
178 for a
in $IN; do wr
$a $FILE; done
181 FILE
=..
/${PRENAME}${COUNT}${NAME}-core.
diff
182 VALUE
=$
(( ${VALUE} + 1 ))
183 printf -v COUNT
"%02d" ${VALUE}
187 ?_ltt_ltt-heartbeat.c"
189 for a
in $IN; do wr
$a $FILE; done
191 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer-header.
diff
192 VALUE
=$
(( ${VALUE} + 1 ))
193 printf -v COUNT
"%02d" ${VALUE}
195 IN
="?_include_ltt_ltt-tracer.h"
197 for a
in $IN; do wr
$a $FILE; done
200 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer.
diff
201 VALUE
=$
(( ${VALUE} + 1 ))
202 printf -v COUNT
"%02d" ${VALUE}
204 IN
="?_ltt_ltt-tracer.c"
206 for a
in $IN; do wr
$a $FILE; done
210 FILE
=..
/${PRENAME}${COUNT}${NAME}-transport.
diff
211 VALUE
=$
(( ${VALUE} + 1 ))
212 printf -v COUNT
"%02d" ${VALUE}
214 IN
="?_ltt_ltt-relay.c
215 ?_Documentation_ioctl-number.txt"
217 for a
in $IN; do wr
$a $FILE; done
221 FILE
=..
/${PRENAME}${COUNT}${NAME}-netlink-control.
diff
222 VALUE
=$
(( ${VALUE} + 1 ))
223 printf -v COUNT
"%02d" ${VALUE}
225 IN
="?_ltt_ltt-control.c
227 ?_include_linux_netlink.h"
229 for a
in $IN; do wr
$a $FILE; done
232 FILE
=..
/${PRENAME}${COUNT}${NAME}-userspace-tracing.
diff
233 VALUE
=$
(( ${VALUE} + 1 ))
234 printf -v COUNT
"%02d" ${VALUE}
236 IN
="?_include_linux_sched.h
241 ?_include_asm-arm_unistd.h
242 ?_include_asm-i386_unistd.h
243 ?_include_asm-mips_unistd.h
244 ?_include_asm-powerpc_unistd.h
245 ?_include_asm-powerpc_systbl.h
246 ?_include_asm-x86_64_unistd.h
247 ?_include_asm-arm_unistd.h"
249 for a
in $IN; do wr
$a $FILE; done
251 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-arm.
diff
252 VALUE
=$
(( ${VALUE} + 1 ))
253 printf -v COUNT
"%02d" ${VALUE}
255 IN
="?_arch_arm_kernel_calls.S
256 ?_arch_arm_kernel_entry-common.S
257 ?_arch_arm_kernel_process.c
258 ?_arch_arm_kernel_ptrace.c
259 ?_arch_arm_kernel_sys_arm.c
260 ?_arch_arm_kernel_time.c
261 ?_arch_arm_kernel_traps.c
262 ?_include_asm-arm_thread_info.h"
264 for a
in $IN; do wr
$a $FILE; done
266 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-i386.
diff
267 VALUE
=$
(( ${VALUE} + 1 ))
268 printf -v COUNT
"%02d" ${VALUE}
270 IN
="?_arch_i386_kernel_process.c
271 ?_arch_i386_kernel_ptrace.c
272 ?_arch_i386_kernel_syscall_table.S
273 ?_arch_i386_kernel_sys_i386.c
274 ?_arch_i386_kernel_time.c
275 ?_arch_i386_kernel_traps.c
276 ?_arch_i386_mm_fault.c"
278 for a
in $IN; do wr
$a $FILE; done
280 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-mips.
diff
281 VALUE
=$
(( ${VALUE} + 1 ))
282 printf -v COUNT
"%02d" ${VALUE}
284 IN
="?_arch_mips_kernel_process.c
285 ?_arch_mips_kernel_ptrace.c
286 ?_arch_mips_kernel_syscall.c
287 ?_arch_mips_kernel_time.c
288 ?_arch_mips_kernel_traps.c
289 ?_arch_mips_kernel_unaligned.c
290 ?_include_asm-mips_mipsregs.h
291 ?_arch_mips_kernel_scall32-o32.S
292 ?_arch_mips_kernel_scall64-64.S
293 ?_arch_mips_kernel_scall64-n32.S
294 ?_arch_mips_kernel_scall64-o32.S
295 ?_arch_mips_mm_fault.c"
297 for a
in $IN; do wr
$a $FILE; done
301 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-powerpc.
diff
302 VALUE
=$
(( ${VALUE} + 1 ))
303 printf -v COUNT
"%02d" ${VALUE}
305 IN
="?_arch_powerpc_kernel_irq.c
306 ?_arch_powerpc_kernel_misc_32.S
307 ?_arch_powerpc_kernel_misc_64.S
308 ?_arch_powerpc_kernel_ppc_ksyms.c
309 ?_arch_powerpc_kernel_process.c
310 ?_arch_powerpc_kernel_prom.c
311 ?_arch_powerpc_kernel_ptrace.c
312 ?_arch_powerpc_kernel_syscalls.c
313 ?_arch_powerpc_kernel_time.c
314 ?_arch_powerpc_kernel_traps.c
315 ?_arch_powerpc_mm_fault.c"
317 for a
in $IN; do wr
$a $FILE; done
320 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-ppc.
diff
321 VALUE
=$
(( ${VALUE} + 1 ))
322 printf -v COUNT
"%02d" ${VALUE}
324 IN
="?_arch_ppc_Kconfig
325 ?_arch_ppc_kernel_misc.S
326 ?_arch_ppc_kernel_time.c
327 ?_arch_ppc_kernel_traps.c
328 ?_arch_ppc_mm_fault.c"
331 for a
in $IN; do wr
$a $FILE; done
334 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-x86_64.
diff
335 VALUE
=$
(( ${VALUE} + 1 ))
336 printf -v COUNT
"%02d" ${VALUE}
338 IN
="?_arch_x86_64_ia32_ia32entry.S
339 ?_arch_x86_64_ia32_ipc32.c
340 ?_arch_x86_64_kernel_entry.S
341 ?_arch_x86_64_kernel_process.c
342 ?_arch_x86_64_kernel_ptrace.c
343 ?_arch_x86_64_kernel_time.c
344 ?_arch_x86_64_kernel_traps.c
345 ?_arch_x86_64_mm_fault.c"
347 for a
in $IN; do wr
$a $FILE; done
349 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation.
diff
350 VALUE
=$
(( ${VALUE} + 1 ))
351 printf -v COUNT
"%02d" ${VALUE}
363 ?_kernel_irq_handle.c
381 for a
in $IN; do wr
$a $FILE; done
383 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities-probes-headers.
diff
384 VALUE
=$
(( ${VALUE} + 1 ))
385 printf -v COUNT
"%02d" ${VALUE}
387 IN
="?_include_ltt_ltt-facility-custom-fs_data.h
388 ?_include_ltt_ltt-facility-custom-stack_arch_i386.h
389 ?_include_ltt_ltt-facility-custom-stack_arch_x86_64.h
390 ?_include_ltt_ltt-facility-custom-stack.h
391 ?_include_ltt_ltt-facility-fs_data.h
392 ?_include_ltt_ltt-facility-fs.h
393 ?_include_ltt_ltt-facility-id-fs_data.h
394 ?_include_ltt_ltt-facility-id-fs.h
395 ?_include_ltt_ltt-facility-id-ipc.h
396 ?_include_ltt_ltt-facility-id-kernel_arch_arm.h
397 ?_include_ltt_ltt-facility-id-kernel_arch_i386.h
398 ?_include_ltt_ltt-facility-id-kernel_arch_mips.h
399 ?_include_ltt_ltt-facility-id-kernel_arch_powerpc.h
400 ?_include_ltt_ltt-facility-id-kernel_arch_ppc.h
401 ?_include_ltt_ltt-facility-id-kernel_arch_x86_64.h
402 ?_include_ltt_ltt-facility-id-kernel.h
403 ?_include_ltt_ltt-facility-id-locking.h
404 ?_include_ltt_ltt-facility-id-memory.h
405 ?_include_ltt_ltt-facility-id-network.h
406 ?_include_ltt_ltt-facility-id-network_ip_interface.h
407 ?_include_ltt_ltt-facility-id-process.h
408 ?_include_ltt_ltt-facility-id-socket.h
409 ?_include_ltt_ltt-facility-id-stack_arch_i386.h
410 ?_include_ltt_ltt-facility-id-stack.h
411 ?_include_ltt_ltt-facility-id-statedump.h
412 ?_include_ltt_ltt-facility-id-timer.h
413 ?_include_ltt_ltt-facility-ipc.h
414 ?_include_ltt_ltt-facility-kernel_arch_arm.h
415 ?_include_ltt_ltt-facility-kernel_arch_i386.h
416 ?_include_ltt_ltt-facility-kernel_arch_mips.h
417 ?_include_ltt_ltt-facility-kernel_arch_powerpc.h
418 ?_include_ltt_ltt-facility-kernel_arch_ppc.h
419 ?_include_ltt_ltt-facility-kernel_arch_x86_64.h
420 ?_include_ltt_ltt-facility-kernel.h
421 ?_include_ltt_ltt-facility-locking.h
422 ?_include_ltt_ltt-facility-memory.h
423 ?_include_ltt_ltt-facility-network.h
424 ?_include_ltt_ltt-facility-network_ip_interface.h
425 ?_include_ltt_ltt-facility-process.h
426 ?_include_ltt_ltt-facility-select-core.h
427 ?_include_ltt_ltt-facility-select-default.h
428 ?_include_ltt_ltt-facility-select-kernel.h
429 ?_include_ltt_ltt-facility-select-network_ip_interface.h
430 ?_include_ltt_ltt-facility-select-process.h
431 ?_include_ltt_ltt-facility-select-statedump.h
432 ?_include_ltt_ltt-facility-socket.h
433 ?_include_ltt_ltt-facility-stack.h
434 ?_include_ltt_ltt-facility-statedump.h
435 ?_include_ltt_ltt-facility-timer.h
436 ?_include_ltt_ltt-stack.h"
438 for a
in $IN; do wr
$a $FILE; done
441 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities-probes.
diff
442 VALUE
=$
(( ${VALUE} + 1 ))
443 printf -v COUNT
"%02d" ${VALUE}
445 IN
="?_ltt_facilities_ltt-facility-loader-fs.c
446 ?_ltt_facilities_ltt-facility-loader-fs_data.c
447 ?_ltt_facilities_ltt-facility-loader-fs_data.h
448 ?_ltt_facilities_ltt-facility-loader-fs.h
449 ?_ltt_facilities_ltt-facility-loader-ipc.c
450 ?_ltt_facilities_ltt-facility-loader-ipc.h
451 ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.c
452 ?_ltt_facilities_ltt-facility-loader-kernel_arch_arm.h
453 ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.c
454 ?_ltt_facilities_ltt-facility-loader-kernel_arch_i386.h
455 ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.c
456 ?_ltt_facilities_ltt-facility-loader-kernel_arch_mips.h
457 ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.c
458 ?_ltt_facilities_ltt-facility-loader-kernel_arch_powerpc.h
459 ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.c
460 ?_ltt_facilities_ltt-facility-loader-kernel_arch_ppc.h
461 ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.c
462 ?_ltt_facilities_ltt-facility-loader-kernel_arch_x86_64.h
463 ?_ltt_facilities_ltt-facility-loader-kernel.c
464 ?_ltt_facilities_ltt-facility-loader-kernel.h
465 ?_ltt_facilities_ltt-facility-loader-locking.c
466 ?_ltt_facilities_ltt-facility-loader-locking.h
467 ?_ltt_facilities_ltt-facility-loader-memory.c
468 ?_ltt_facilities_ltt-facility-loader-memory.h
469 ?_ltt_facilities_ltt-facility-loader-network.c
470 ?_ltt_facilities_ltt-facility-loader-network.h
471 ?_ltt_facilities_ltt-facility-loader-network_ip_interface.c
472 ?_ltt_facilities_ltt-facility-loader-network_ip_interface.h
473 ?_ltt_facilities_ltt-facility-loader-process.c
474 ?_ltt_facilities_ltt-facility-loader-process.h
475 ?_ltt_facilities_ltt-facility-loader-socket.c
476 ?_ltt_facilities_ltt-facility-loader-socket.h
477 ?_ltt_facilities_ltt-facility-loader-stack.c
478 ?_ltt_facilities_ltt-facility-loader-stack.h
479 ?_ltt_facilities_ltt-facility-loader-statedump.c
480 ?_ltt_facilities_ltt-facility-loader-statedump.h
481 ?_ltt_facilities_ltt-facility-loader-timer.c
482 ?_ltt_facilities_ltt-facility-loader-timer.h
486 for a
in $IN; do wr
$a $FILE; done
489 FILE
=..
/${PRENAME}${COUNT}${NAME}-probes.
diff
490 VALUE
=$
(( ${VALUE} + 1 ))
491 printf -v COUNT
"%02d" ${VALUE}
493 IN
="?_ltt_probes_ltt-probe-arm.c
494 ?_ltt_probes_ltt-probe-fs.c
495 ?_ltt_probes_ltt-probe-i386.c
496 ?_ltt_probes_ltt-probe-ipc.c
497 ?_ltt_probes_ltt-probe-kernel.c
498 ?_ltt_probes_ltt-probe-list.c
499 ?_ltt_probes_ltt-probe-locking.c
500 ?_ltt_probes_ltt-probe-mips.c
501 ?_ltt_probes_ltt-probe-mm.c
502 ?_ltt_probes_ltt-probe-net.c
503 ?_ltt_probes_ltt-probe-powerpc.c
504 ?_ltt_probes_ltt-probe-ppc.c
505 ?_ltt_probes_ltt-probe-x86_64.c
506 ?_ltt_probes_Makefile"
508 for a
in $IN; do wr
$a $FILE; done
510 FILE
=..
/${PRENAME}${COUNT}${NAME}-statedump.
diff
511 VALUE
=$
(( ${VALUE} + 1 ))
512 printf -v COUNT
"%02d" ${VALUE}
514 IN
="?_ltt_ltt-statedump.c"
516 for a
in $IN; do wr
$a $FILE; done
519 FILE
=..
/${PRENAME}${COUNT}${NAME}-build.
diff
520 VALUE
=$
(( ${VALUE} + 1 ))
521 printf -v COUNT
"%02d" ${VALUE}
534 ?_arch_m68knommu_Kconfig
536 ?_arch_powerpc_Kconfig
537 ?_arch_parisc_Kconfig
544 ?_arch_sparc64_Kconfig
548 ?_arch_xtensa_Kconfig
549 ?_arch_x86_64_Kconfig"
551 for a
in $IN; do wr
$a $FILE; done
558 tar cvfj
${PRENAME}${NAME}.tar.bz2 ${PRENAME}*${NAME}-*
This page took 0.039681 seconds and 4 git commands to generate.