From 11df8cd57d94c108ec0d17a379d5cbc0662aec27 Mon Sep 17 00:00:00 2001 From: compudj Date: Sat, 16 Sep 2006 16:14:36 +0000 Subject: [PATCH] update scripts git-svn-id: http://ltt.polymtl.ca/svn@2115 04897980-b3bd-0310-b5e0-8ef037075253 --- scripts/lttng-core-split-script.sh | 76 +++++++++++++++--------------- scripts/lttng-split-script.sh | 24 ++++------ 2 files changed, 48 insertions(+), 52 deletions(-) diff --git a/scripts/lttng-core-split-script.sh b/scripts/lttng-core-split-script.sh index d31d67fc..8e1759a7 100755 --- a/scripts/lttng-core-split-script.sh +++ b/scripts/lttng-core-split-script.sh @@ -31,6 +31,16 @@ for a in *; do rm $a.tmp; done + + +FILE=../$NAME-debugfs.diff + +IN="?_fs_debugfs_inode.c" + +for a in $IN; do wr $a $FILE; done + + + FILE=../$NAME-facilities-headers.diff IN="?_include_linux_ltt_ltt-facility-core.h @@ -55,22 +65,6 @@ for a in $IN; do wr $a $FILE; done -FILE=../$NAME-relayfs.diff - -IN="?_Documentation_ioctl-number.txt -?_include_linux_relay.h -?_fs_relayfs_Makefile -?_fs_relayfs_inode.c -?_fs_relayfs_relay.c -?_fs_relayfs_buffers.c -?_fs_relayfs_buffers.h -?_fs_relayfs_relay.h -?_fs_Makefile -?_block_blktrace.c" - -for a in $IN; do wr $a $FILE; done - - FILE=../$NAME-core-timestamp.diff @@ -112,21 +106,6 @@ IN="?_include_linux_ltt-core.h" for a in $IN; do wr $a $FILE; done -FILE=../$NAME-userspace-tracing.diff - -IN="?_include_linux_sched.h -?_kernel_sys_ni.c -?_kernel_ltt-syscall.c -?_kernel_exit.c -?_kernel_fork.c -?_include_asm-i386_unistd.h -?_include_asm-powerpc_unistd.h -?_include_asm-x86_64_ia32_unistd.h -?_include_asm-x86_64_unistd.h" - -for a in $IN; do wr $a $FILE; done - - FILE=../$NAME-core.diff IN="?_MAINTAINERS @@ -141,12 +120,39 @@ for a in $IN; do wr $a $FILE; done FILE=../$NAME-transport.diff -IN="?_ltt_ltt-relay.c" +IN="?_ltt_ltt-relay.c +?_Documentation_ioctl-number.txt" + +for a in $IN; do wr $a $FILE; done + + + +FILE=../$NAME-netlink-control.diff + +IN="?_ltt_ltt-control.c +?_ltt_ltt-control.h +?_include_linux_netlink.h" + +for a in $IN; do wr $a $FILE; done + + +FILE=../$NAME-userspace-tracing.diff + +IN="?_include_linux_sched.h +?_kernel_sys_ni.c +?_kernel_ltt-syscall.c +?_kernel_exit.c +?_kernel_fork.c +?_include_asm-i386_unistd.h +?_include_asm-powerpc_unistd.h +?_include_asm-x86_64_ia32_unistd.h +?_include_asm-x86_64_unistd.h" for a in $IN; do wr $a $FILE; done + FILE=../$NAME-build.diff IN="?_Makefile @@ -164,13 +170,7 @@ for a in $IN; do wr $a $FILE; done -FILE=../$NAME-netlink-control.diff -IN="?_ltt_ltt-control.c -?_ltt_ltt-control.h -?_include_linux_netlink.h" - -for a in $IN; do wr $a $FILE; done cd .. diff --git a/scripts/lttng-split-script.sh b/scripts/lttng-split-script.sh index 181f4e04..77798028 100755 --- a/scripts/lttng-split-script.sh +++ b/scripts/lttng-split-script.sh @@ -33,6 +33,15 @@ for a in *; do done + +FILE=../$NAME-debugfs.diff + +IN="?_fs_debugfs_inode.c" + +for a in $IN; do wr $a $FILE; done + + + FILE=../$NAME-instrumentation.diff IN="?_fs_buffer.c @@ -276,20 +285,6 @@ IN="?_include_linux_ltt-facilities.h for a in $IN; do wr $a $FILE; done -FILE=../$NAME-relayfs.diff - -IN="?_Documentation_ioctl-number.txt -?_include_linux_relay.h -?_fs_relayfs_Makefile -?_fs_relayfs_inode.c -?_fs_relayfs_relay.c -?_fs_relayfs_buffers.c -?_fs_relayfs_buffers.h -?_fs_relayfs_relay.h -?_fs_Makefile -?_block_blktrace.c" - -for a in $IN; do wr $a $FILE; done FILE=../$NAME-build.diff @@ -332,6 +327,7 @@ IN="?_MAINTAINERS ?_include_linux_sched.h ?_ltt_Kconfig ?_ltt_ltt-core.c +?_Documentation_ioctl-number.txt ?_ltt_ltt-relay.c ?_arch_i386_Kconfig ?_arch_ppc_Kconfig -- 2.34.1