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
54 for a
in $IN; do wr
$a $FILE; done
56 FILE
=..
/${PRENAME}${COUNT}${NAME}-markers.
diff
57 VALUE
=$
(( ${VALUE} + 1 ))
58 printf -v COUNT
"%02d" ${VALUE}
60 IN
="?_include_asm-generic_vmlinux.lds.h
61 ?_kernel_Kconfig.marker
62 ?_include_linux_module.h
63 ?_include_linux_marker.h
64 ?_include_asm-arm_marker.h
65 ?_include_asm-cris_marker.h
66 ?_include_asm-frv_marker.h
67 ?_include_asm-generic_marker.h
68 ?_include_asm-h8300_marker.h
69 ?_include_asm-i386_marker.h
70 ?_include_asm-ia64_marker.h
71 ?_include_asm-m32r_marker.h
72 ?_include_asm-m68k_marker.h
73 ?_include_asm-m68knommu_marker.h
74 ?_include_asm-mips_marker.h
75 ?_include_asm-parisc_marker.h
76 ?_include_asm-powerpc_marker.h
77 ?_include_asm-ppc64_marker.h
78 ?_include_asm-ppc_marker.h
79 ?_include_asm-s390_marker.h
80 ?_include_asm-sh64_marker.h
81 ?_include_asm-sh_marker.h
82 ?_include_asm-sparc64_marker.h
83 ?_include_asm-sparc_marker.h
84 ?_include_asm-um_marker.h
85 ?_include_asm-v850_marker.h
86 ?_include_asm-x86_64_marker.h
87 ?_include_asm-xtensa_marker.h"
89 for a
in $IN; do wr
$a $FILE; done
91 FILE
=..
/${PRENAME}${COUNT}${NAME}-atomic_up.
diff
92 VALUE
=$
(( ${VALUE} + 1 ))
93 printf -v COUNT
"%02d" ${VALUE}
95 IN
="?_include_asm-i386_atomic-up.h
96 ?_include_asm-i386_system.h
97 ?_include_asm-x86_64_atomic-up.h
98 ?_include_asm-x86_64_system.h
99 ?_include_asm-powerpc_atomic-up.h
100 ?_include_asm-powerpc_system.h
101 ?_include_asm-arm_atomic-up.h
102 ?_include_asm-mips_atomic-up.h
103 ?_include_asm-generic_atomic-up.h"
105 for a
in $IN; do wr
$a $FILE; done
107 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-core-headers.
diff
108 VALUE
=$
(( ${VALUE} + 1 ))
109 printf -v COUNT
"%02d" ${VALUE}
111 IN
="?_include_ltt_ltt-facility-core.h
112 ?_include_ltt_ltt-facility-id-core.h
113 ?_include_ltt_ltt-facility-select-core.h"
115 for a
in $IN; do wr
$a $FILE; done
118 FILE
=..
/${PRENAME}${COUNT}${NAME}-facility-loader-core.
diff
119 VALUE
=$
(( ${VALUE} + 1 ))
120 printf -v COUNT
"%02d" ${VALUE}
122 IN
="?_ltt_facilities_ltt-facility-loader-core.c
123 ?_ltt_facilities_ltt-facility-loader-core.h
124 ?_ltt_facilities_Makefile"
126 for a
in $IN; do wr
$a $FILE; done
128 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities.
diff
129 VALUE
=$
(( ${VALUE} + 1 ))
130 printf -v COUNT
"%02d" ${VALUE}
132 IN
="?_include_linux_ltt-facilities.h
133 ?_ltt_ltt-facilities.c"
135 for a
in $IN; do wr
$a $FILE; done
138 FILE
=..
/${PRENAME}${COUNT}${NAME}-timestamp.
diff
139 VALUE
=$
(( ${VALUE} + 1 ))
140 printf -v COUNT
"%02d" ${VALUE}
142 IN
="?_include_asm-alpha_ltt.h
143 ?_include_asm-arm26_ltt.h
144 ?_include_asm-arm_ltt.h
145 ?_include_asm-cris_ltt.h
146 ?_include_asm-frv_ltt.h
147 ?_include_asm-generic_ltt.h
148 ?_include_asm-h8300_ltt.h
149 ?_include_asm-i386_ltt.h
150 ?_include_asm-ia64_ltt.h
151 ?_include_asm-m32r_ltt.h
152 ?_include_asm-m68k_ltt.h
153 ?_include_asm-m68knommu_ltt.h
154 ?_include_asm-mips_ltt.h
155 ?_include_asm-mips_mipsregs.h
156 ?_include_asm-mips_timex.h
157 ?_arch_mips_kernel_time.c
158 ?_include_asm-parisc_ltt.h
159 ?_include_asm-powerpc_ltt.h
160 ?_include_asm-ppc_ltt.h
161 ?_include_asm-s390_ltt.h
162 ?_include_asm-sh64_ltt.h
163 ?_include_asm-sh_ltt.h
164 ?_include_asm-sparc64_ltt.h
165 ?_include_asm-sparc_ltt.h
166 ?_include_asm-um_ltt.h
167 ?_include_asm-v850_ltt.h
168 ?_include_asm-x86_64_ltt.h
169 ?_include_asm-xtensa_ltt.h"
171 for a
in $IN; do wr
$a $FILE; done
174 FILE
=..
/${PRENAME}${COUNT}${NAME}-core-header.
diff
175 VALUE
=$
(( ${VALUE} + 1 ))
176 printf -v COUNT
"%02d" ${VALUE}
178 IN
="?_include_linux_ltt-core.h"
180 for a
in $IN; do wr
$a $FILE; done
183 FILE
=..
/${PRENAME}${COUNT}${NAME}-core.
diff
184 VALUE
=$
(( ${VALUE} + 1 ))
185 printf -v COUNT
"%02d" ${VALUE}
189 ?_ltt_ltt-heartbeat.c"
191 for a
in $IN; do wr
$a $FILE; done
193 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer-header.
diff
194 VALUE
=$
(( ${VALUE} + 1 ))
195 printf -v COUNT
"%02d" ${VALUE}
197 IN
="?_include_ltt_ltt-tracer.h"
199 for a
in $IN; do wr
$a $FILE; done
202 FILE
=..
/${PRENAME}${COUNT}${NAME}-tracer.
diff
203 VALUE
=$
(( ${VALUE} + 1 ))
204 printf -v COUNT
"%02d" ${VALUE}
206 IN
="?_ltt_ltt-tracer.c"
208 for a
in $IN; do wr
$a $FILE; done
212 FILE
=..
/${PRENAME}${COUNT}${NAME}-transport.
diff
213 VALUE
=$
(( ${VALUE} + 1 ))
214 printf -v COUNT
"%02d" ${VALUE}
216 IN
="?_ltt_ltt-relay.c
217 ?_Documentation_ioctl-number.txt"
219 for a
in $IN; do wr
$a $FILE; done
223 FILE
=..
/${PRENAME}${COUNT}${NAME}-netlink-control.
diff
224 VALUE
=$
(( ${VALUE} + 1 ))
225 printf -v COUNT
"%02d" ${VALUE}
227 IN
="?_ltt_ltt-control.c
229 ?_include_linux_netlink.h"
231 for a
in $IN; do wr
$a $FILE; done
234 FILE
=..
/${PRENAME}${COUNT}${NAME}-userspace-tracing.
diff
235 VALUE
=$
(( ${VALUE} + 1 ))
236 printf -v COUNT
"%02d" ${VALUE}
238 IN
="?_include_linux_sched.h
243 ?_include_asm-arm_unistd.h
244 ?_include_asm-i386_unistd.h
245 ?_include_asm-mips_unistd.h
246 ?_include_asm-powerpc_unistd.h
247 ?_include_asm-powerpc_systbl.h
248 ?_include_asm-x86_64_unistd.h"
250 for a
in $IN; do wr
$a $FILE; done
252 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-arm.
diff
253 VALUE
=$
(( ${VALUE} + 1 ))
254 printf -v COUNT
"%02d" ${VALUE}
256 IN
="?_arch_arm_kernel_calls.S
257 ?_arch_arm_kernel_entry-common.S
258 ?_arch_arm_kernel_process.c
259 ?_arch_arm_kernel_ptrace.c
260 ?_arch_arm_kernel_sys_arm.c
261 ?_arch_arm_kernel_time.c
262 ?_arch_arm_kernel_traps.c
263 ?_include_asm-arm_thread_info.h"
265 for a
in $IN; do wr
$a $FILE; done
267 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-i386.
diff
268 VALUE
=$
(( ${VALUE} + 1 ))
269 printf -v COUNT
"%02d" ${VALUE}
271 IN
="?_arch_i386_kernel_process.c
272 ?_arch_i386_kernel_ptrace.c
273 ?_arch_i386_kernel_syscall_table.S
274 ?_arch_i386_kernel_sys_i386.c
275 ?_arch_i386_kernel_time.c
276 ?_arch_i386_kernel_traps.c
277 ?_arch_i386_mm_fault.c"
279 for a
in $IN; do wr
$a $FILE; done
281 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-mips.
diff
282 VALUE
=$
(( ${VALUE} + 1 ))
283 printf -v COUNT
"%02d" ${VALUE}
285 IN
="?_arch_mips_kernel_process.c
286 ?_arch_mips_kernel_ptrace.c
287 ?_arch_mips_kernel_syscall.c
288 ?_arch_mips_kernel_time.c
289 ?_arch_mips_kernel_traps.c
290 ?_arch_mips_kernel_unaligned.c
291 ?_include_asm-mips_mipsregs.h
292 ?_arch_mips_kernel_scall32-o32.S
293 ?_arch_mips_kernel_scall64-64.S
294 ?_arch_mips_kernel_scall64-n32.S
295 ?_arch_mips_kernel_scall64-o32.S
296 ?_arch_mips_mm_fault.c"
298 for a
in $IN; do wr
$a $FILE; done
302 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-powerpc.
diff
303 VALUE
=$
(( ${VALUE} + 1 ))
304 printf -v COUNT
"%02d" ${VALUE}
306 IN
="?_arch_powerpc_kernel_irq.c
307 ?_arch_powerpc_kernel_misc_32.S
308 ?_arch_powerpc_kernel_misc_64.S
309 ?_arch_powerpc_kernel_ppc_ksyms.c
310 ?_arch_powerpc_kernel_process.c
311 ?_arch_powerpc_kernel_prom.c
312 ?_arch_powerpc_kernel_ptrace.c
313 ?_arch_powerpc_kernel_syscalls.c
314 ?_arch_powerpc_kernel_time.c
315 ?_arch_powerpc_kernel_traps.c
316 ?_arch_powerpc_mm_fault.c"
318 for a
in $IN; do wr
$a $FILE; done
321 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-ppc.
diff
322 VALUE
=$
(( ${VALUE} + 1 ))
323 printf -v COUNT
"%02d" ${VALUE}
325 IN
="?_arch_ppc_Kconfig
326 ?_arch_ppc_kernel_misc.S
327 ?_arch_ppc_kernel_time.c
328 ?_arch_ppc_kernel_traps.c
329 ?_arch_ppc_mm_fault.c"
332 for a
in $IN; do wr
$a $FILE; done
335 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation-x86_64.
diff
336 VALUE
=$
(( ${VALUE} + 1 ))
337 printf -v COUNT
"%02d" ${VALUE}
339 IN
="?_arch_x86_64_ia32_ia32entry.S
340 ?_arch_x86_64_ia32_ipc32.c
341 ?_arch_x86_64_kernel_entry.S
342 ?_arch_x86_64_kernel_process.c
343 ?_arch_x86_64_kernel_ptrace.c
344 ?_arch_x86_64_kernel_time.c
345 ?_arch_x86_64_kernel_traps.c
346 ?_arch_x86_64_mm_fault.c"
348 for a
in $IN; do wr
$a $FILE; done
350 FILE
=..
/${PRENAME}${COUNT}${NAME}-instrumentation.
diff
351 VALUE
=$
(( ${VALUE} + 1 ))
352 printf -v COUNT
"%02d" ${VALUE}
364 ?_kernel_irq_handle.c
382 for a
in $IN; do wr
$a $FILE; done
384 FILE
=..
/${PRENAME}${COUNT}${NAME}-facilities-probes-headers.
diff
385 VALUE
=$
(( ${VALUE} + 1 ))
386 printf -v COUNT
"%02d" ${VALUE}
388 IN
="?_include_ltt_ltt-facility-custom-fs_data.h
389 ?_include_ltt_ltt-facility-custom-stack_arch_i386.h
390 ?_include_ltt_ltt-facility-custom-stack_arch_x86_64.h
391 ?_include_ltt_ltt-facility-custom-stack.h
392 ?_include_ltt_ltt-facility-fs_data.h
393 ?_include_ltt_ltt-facility-fs.h
394 ?_include_ltt_ltt-facility-id-fs_data.h
395 ?_include_ltt_ltt-facility-id-fs.h
396 ?_include_ltt_ltt-facility-id-ipc.h
397 ?_include_ltt_ltt-facility-id-kernel_arch_arm.h
398 ?_include_ltt_ltt-facility-id-kernel_arch_i386.h
399 ?_include_ltt_ltt-facility-id-kernel_arch_mips.h
400 ?_include_ltt_ltt-facility-id-kernel_arch_powerpc.h
401 ?_include_ltt_ltt-facility-id-kernel_arch_ppc.h
402 ?_include_ltt_ltt-facility-id-kernel_arch_x86_64.h
403 ?_include_ltt_ltt-facility-id-kernel.h
404 ?_include_ltt_ltt-facility-id-locking.h
405 ?_include_ltt_ltt-facility-id-memory.h
406 ?_include_ltt_ltt-facility-id-network.h
407 ?_include_ltt_ltt-facility-id-network_ip_interface.h
408 ?_include_ltt_ltt-facility-id-process.h
409 ?_include_ltt_ltt-facility-id-socket.h
410 ?_include_ltt_ltt-facility-id-stack_arch_i386.h
411 ?_include_ltt_ltt-facility-id-stack.h
412 ?_include_ltt_ltt-facility-id-statedump.h
413 ?_include_ltt_ltt-facility-id-timer.h
414 ?_include_ltt_ltt-facility-ipc.h
415 ?_include_ltt_ltt-facility-kernel_arch_arm.h
416 ?_include_ltt_ltt-facility-kernel_arch_i386.h
417 ?_include_ltt_ltt-facility-kernel_arch_mips.h
418 ?_include_ltt_ltt-facility-kernel_arch_powerpc.h
419 ?_include_ltt_ltt-facility-kernel_arch_ppc.h
420 ?_include_ltt_ltt-facility-kernel_arch_x86_64.h
421 ?_include_ltt_ltt-facility-kernel.h
422 ?_include_ltt_ltt-facility-locking.h
423 ?_include_ltt_ltt-facility-memory.h
424 ?_include_ltt_ltt-facility-network.h
425 ?_include_ltt_ltt-facility-network_ip_interface.h
426 ?_include_ltt_ltt-facility-process.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.059208 seconds and 5 git commands to generate.