3 # Creates a -all patch, and split it.
4 # Mathieu Desnoyers, october 2005
14 NAME
=patch-2.6
.17-lttng-$1
15 ALL_NAME
=$NAME-all.
diff
24 splitdiff
-a -d $ALL_NAME
31 grep -v -e "^diff --git " -e "^new file mode " -e "^index " $a.tmp
> $a
37 FILE
=..
/$NAME-debugfs.
diff
39 IN
="?_fs_debugfs_inode.c"
41 for a
in $IN; do wr
$a $FILE; done
45 FILE
=..
/$NAME-instrumentation.
diff
47 IN
="?_include_linux_kernel.h
74 for a
in $IN; do wr
$a $FILE; done
77 FILE
=..
/$NAME-instrumentation-arm.
diff
79 IN
="?_arch_arm_kernel_entry-common.S
80 ?_arch_arm_kernel_calls.S
81 ?_arch_arm_kernel_irq.c
82 ?_arch_arm_kernel_process.c
83 ?_arch_arm_kernel_sys_arm.c
84 ?_arch_arm_kernel_time.c
85 ?_arch_arm_kernel_traps.c"
87 for a
in $IN; do wr
$a $FILE; done
90 FILE
=..
/$NAME-instrumentation-i386.
diff
92 IN
="?_arch_i386_kernel_entry.S
93 ?_arch_i386_kernel_Makefile
94 ?_arch_i386_kernel_ltt.c
95 ?_arch_i386_kernel_syscall_table.S
96 ?_arch_i386_kernel_process.c
97 ?_arch_i386_kernel_sys_i386.c
98 ?_arch_i386_kernel_traps.c
99 ?_arch_i386_kernel_time.c
100 ?_arch_i386_mm_fault.c
101 ?_include_asm-i386_unistd.h
102 ?_include_asm-i386_system.h"
104 for a
in $IN; do wr
$a $FILE; done
107 FILE
=..
/$NAME-instrumentation-mips.
diff
109 IN
="?_arch_mips_kernel_irq.c
110 ?_arch_mips_kernel_process.c
111 ?_arch_mips_kernel_traps.c
112 ?_arch_mips_kernel_unaligned.c
113 ?_arch_mips_kernel_syscall.c
114 ?_arch_mips_kernel_scall32-o32.S
115 ?_arch_mips_kernel_scall64-64.S
116 ?_arch_mips_kernel_scall64-n32.S
117 ?_arch_mips_kernel_scall64-o32.S
118 ?_arch_mips_mm_fault.c"
119 for a
in $IN; do wr
$a $FILE; done
122 FILE
=..
/$NAME-instrumentation-ppc.
diff
123 IN
="?_arch_ppc_kernel_entry.S
124 ?_arch_ppc_kernel_misc.S
125 ?_arch_ppc_kernel_time.c
126 ?_arch_ppc_kernel_traps.c
127 ?_arch_ppc_mm_fault.c"
128 for a
in $IN; do wr
$a $FILE; done
131 FILE
=..
/$NAME-instrumentation-powerpc.
diff
132 IN
="?_arch_powerpc_kernel_entry_32.S
133 ?_arch_powerpc_kernel_entry_64.S
134 ?_arch_powerpc_kernel_misc_32.S
135 ?_arch_powerpc_kernel_misc_64.S
136 ?_arch_powerpc_kernel_process.c
137 ?_arch_powerpc_kernel_systbl.S
138 ?_arch_powerpc_kernel_time.c
139 ?_arch_powerpc_kernel_traps.c
140 ?_arch_powerpc_mm_fault.c
141 ?_arch_powerpc_kernel_irq.c
142 ?_arch_powerpc_kernel_ppc_ksyms.c
143 ?_arch_powerpc_kernel_syscalls.c
144 ?_include_asm-powerpc_unistd.h"
146 for a
in $IN; do wr
$a $FILE; done
148 FILE
=..
/$NAME-instrumentation-x86_64.
diff
150 IN
="?_arch_x86_64_ia32_ia32entry.S
151 ?_arch_x86_64_ia32_ipc32.c
152 ?_arch_x86_64_kernel_entry.S
153 ?_arch_x86_64_kernel_ltt.c
154 ?_arch_x86_64_kernel_Makefile
155 ?_arch_x86_64_kernel_time.c
156 ?_arch_x86_64_kernel_traps.c
157 ?_arch_x86_64_mm_fault.c
158 ?_include_asm-x86_64_ia32_unistd.h
159 ?_include_asm-x86_64_unistd.h
160 ?_include_asm-x86_64_system.h"
162 for a
in $IN; do wr
$a $FILE; done
166 FILE
=..
/$NAME-instrumentation-s390.
diff
167 IN
="?_arch_s390_kernel_entry.S
168 ?_arch_s390_kernel_sys_s390.c
169 ?_arch_s390_kernel_traps.c
170 ?_arch_s390_mm_fault.c"
171 for a
in $IN; do wr
$a $FILE; done
174 FILE
=..
/$NAME-instrumentation-sh.
diff
175 IN
="?_arch_sh_kernel_irq.c
176 ?_arch_sh_kernel_process.c
177 ?_arch_sh_kernel_sys_sh.c
178 ?_arch_sh_kernel_traps.c
179 ?_arch_sh_mm_fault.c"
180 for a
in $IN; do wr
$a $FILE; done
184 FILE
=..
/$NAME-facilities-headers.
diff
186 IN
="?_include_linux_ltt_ltt-facility-core.h
187 ?_include_linux_ltt_ltt-facility-fs.h
188 ?_include_linux_ltt_ltt-facility-fs_data.h
189 ?_include_linux_ltt_ltt-facility-custom-fs_data.h
190 ?_include_linux_ltt_ltt-facility-custom-stack.h
191 ?_include_linux_ltt_ltt-facility-id-core.h
192 ?_include_linux_ltt_ltt-facility-id-fs.h
193 ?_include_linux_ltt_ltt-facility-id-fs_data.h
194 ?_include_linux_ltt_ltt-facility-id-ipc.h
195 ?_include_linux_ltt_ltt-facility-id-kernel.h
196 ?_include_linux_ltt_ltt-facility-id-locking.h
197 ?_include_linux_ltt_ltt-facility-id-memory.h
198 ?_include_linux_ltt_ltt-facility-id-network.h
199 ?_include_linux_ltt_ltt-facility-id-network_ip_interface.h
200 ?_include_linux_ltt_ltt-facility-id-process.h
201 ?_include_linux_ltt_ltt-facility-id-socket.h
202 ?_include_linux_ltt_ltt-facility-id-stack.h
203 ?_include_linux_ltt_ltt-facility-id-statedump.h
204 ?_include_linux_ltt_ltt-facility-id-timer.h
205 ?_include_linux_ltt_ltt-facility-ipc.h
206 ?_include_linux_ltt_ltt-facility-kernel.h
207 ?_include_linux_ltt_ltt-facility-locking.h
208 ?_include_linux_ltt_ltt-facility-memory.h
209 ?_include_linux_ltt_ltt-facility-network.h
210 ?_include_linux_ltt_ltt-facility-network_ip_interface.h
211 ?_include_linux_ltt_ltt-facility-process.h
212 ?_include_linux_ltt_ltt-facility-socket.h
213 ?_include_linux_ltt_ltt-facility-stack.h
214 ?_include_linux_ltt_ltt-facility-statedump.h
215 ?_include_linux_ltt_ltt-facility-timer.h
216 ?_include_asm-i386_ltt_ltt-facility-id-kernel_arch_i386.h
217 ?_include_asm-i386_ltt_ltt-facility-kernel_arch_i386.h
218 ?_include_asm-i386_ltt_ltt-facility-custom-stack.h
219 ?_include_asm-i386_ltt_ltt-facility-custom-locking.h
220 ?_include_asm-arm_ltt_ltt-facility-id-kernel_arch_arm.h
221 ?_include_asm-arm_ltt_ltt-facility-kernel_arch_arm.h
222 ?_include_asm-mips_ltt_ltt-facility-id-kernel_arch_mips.h
223 ?_include_asm-mips_ltt_ltt-facility-kernel_arch_mips.h
224 ?_include_asm-powerpc_ltt_ltt-facility-id-kernel_arch_powerpc.h
225 ?_include_asm-powerpc_ltt_ltt-facility-kernel_arch_powerpc.h
226 ?_include_asm-ppc_ltt_ltt-facility-id-kernel_arch_ppc.h
227 ?_include_asm-ppc_ltt_ltt-facility-kernel_arch_ppc.h
228 ?_include_asm-x86_64_ltt_ltt-facility-id-kernel_arch_x86_64.h
229 ?_include_asm-x86_64_ltt_ltt-facility-kernel_arch_x86_64.h
230 ?_include_asm-x86_64_ltt_ltt-facility-custom-stack.h
231 ?_include_asm-x86_64_ltt_ltt-facility-custom-locking.h"
233 for a
in $IN; do wr
$a $FILE; done
236 FILE
=..
/$NAME-facilities-loader.
diff
239 ?_ltt_ltt-facility-loader-core.c
240 ?_ltt_ltt-facility-loader-core.h
241 ?_ltt_ltt-facility-loader-fs.c
242 ?_ltt_ltt-facility-loader-fs.h
243 ?_ltt_ltt-facility-loader-fs_data.c
244 ?_ltt_ltt-facility-loader-fs_data.h
245 ?_ltt_ltt-facility-loader-ipc.c
246 ?_ltt_ltt-facility-loader-ipc.h
247 ?_ltt_ltt-facility-loader-kernel.c
248 ?_ltt_ltt-facility-loader-kernel.h
249 ?_ltt_ltt-facility-loader-locking.c
250 ?_ltt_ltt-facility-loader-locking.h
251 ?_ltt_ltt-facility-loader-memory.c
252 ?_ltt_ltt-facility-loader-memory.h
253 ?_ltt_ltt-facility-loader-network.c
254 ?_ltt_ltt-facility-loader-network.h
255 ?_ltt_ltt-facility-loader-network_ip_interface.c
256 ?_ltt_ltt-facility-loader-network_ip_interface.h
257 ?_ltt_ltt-facility-loader-process.c
258 ?_ltt_ltt-facility-loader-process.h
259 ?_ltt_ltt-facility-loader-socket.c
260 ?_ltt_ltt-facility-loader-socket.h
261 ?_ltt_ltt-facility-loader-stack.c
262 ?_ltt_ltt-facility-loader-stack.h
263 ?_ltt_ltt-facility-loader-statedump.c
264 ?_ltt_ltt-facility-loader-statedump.h
265 ?_ltt_ltt-facility-loader-timer.c
266 ?_ltt_ltt-facility-loader-timer.h
267 ?_ltt_ltt-facility-loader-kernel_arch_i386.c
268 ?_ltt_ltt-facility-loader-kernel_arch_i386.h
269 ?_ltt_ltt-facility-loader-kernel_arch_arm.c
270 ?_ltt_ltt-facility-loader-kernel_arch_arm.h
271 ?_ltt_ltt-facility-loader-kernel_arch_mips.c
272 ?_ltt_ltt-facility-loader-kernel_arch_mips.h
273 ?_ltt_ltt-facility-loader-kernel_arch_powerpc.c
274 ?_ltt_ltt-facility-loader-kernel_arch_powerpc.h
275 ?_ltt_ltt-facility-loader-kernel_arch_ppc.c
276 ?_ltt_ltt-facility-loader-kernel_arch_ppc.h
277 ?_ltt_ltt-facility-loader-kernel_arch_x86_64.c
278 ?_ltt_ltt-facility-loader-kernel_arch_x86_64.h"
281 for a
in $IN; do wr
$a $FILE; done
283 FILE
=..
/$NAME-facilities.
diff
285 IN
="?_include_linux_ltt-facilities.h
286 ?_kernel_ltt-facilities.c"
288 for a
in $IN; do wr
$a $FILE; done
291 FILE
=..
/$NAME-build.
diff
295 for a
in $IN; do wr
$a $FILE; done
297 FILE
=..
/$NAME-core.
diff
300 ?_include_asm-alpha_ltt.h
301 ?_include_asm-arm26_ltt.h
302 ?_include_asm-arm_ltt.h
303 ?_include_asm-cris_ltt.h
304 ?_include_asm-frv_ltt.h
305 ?_include_asm-generic_ltt.h
306 ?_include_asm-h8300_ltt.h
307 ?_include_asm-i386_ltt.h
308 ?_include_asm-ia64_ltt.h
309 ?_include_asm-m32r_ltt.h
310 ?_include_asm-m68k_ltt.h
311 ?_include_asm-m68knommu_ltt.h
312 ?_include_asm-mips_ltt.h
313 ?_include_asm-mips_mipsregs.h
314 ?_include_asm-mips_timex.h
315 ?_arch_mips_kernel_time.c
316 ?_include_asm-parisc_ltt.h
317 ?_include_asm-powerpc_ltt.h
318 ?_include_asm-ppc_ltt.h
319 ?_include_asm-s390_ltt.h
320 ?_include_asm-sh64_ltt.h
321 ?_include_asm-sh_ltt.h
322 ?_include_asm-sparc64_ltt.h
323 ?_include_asm-sparc_ltt.h
324 ?_include_asm-um_ltt.h
325 ?_include_asm-v850_ltt.h
326 ?_include_asm-x86_64_ltt.h
327 ?_include_linux_ltt-core.h
328 ?_include_linux_netlink.h
329 ?_include_linux_sched.h
332 ?_Documentation_ioctl-number.txt
336 ?_arch_powerpc_Kconfig
339 ?_arch_x86_64_Kconfig
343 ?_kernel_ltt-heartbeat.c
344 ?_kernel_ltt-syscall.c
349 for a
in $IN; do wr
$a $FILE; done
351 FILE
=..
/$NAME-modules.
diff
353 IN
="?_ltt_ltt-control.c
355 ?_ltt_ltt-statedump.c"
357 for a
in $IN; do wr
$a $FILE; done
362 tar cvfj
$NAME.
tar.bz2
$NAME-*
This page took 0.036327 seconds and 4 git commands to generate.