Remove old userspace support
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 18 Nov 2009 15:48:17 +0000 (10:48 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 18 Nov 2009 15:48:17 +0000 (10:48 -0500)
Removes the support for arming and disarming old style userspace tracing. This
tracing was based on syscalls and was removed after lttng-0.88

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Cc: Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
lttctl/Makefile.am
lttctl/ltt-armalluser.sh [deleted file]
lttctl/ltt-disarmalluser.sh [deleted file]

index 6c3d063404995bedb1e5ea68ad14976868a02fd6..f86f118f209193dbb7f8747eb336b2ff1ad163ba 100644 (file)
@@ -5,12 +5,10 @@ AM_CFLAGS = -DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_BIN_DIR=\""$(bindir)"\
 bin_PROGRAMS = lttctl
 bin_SCRIPTS = ltt-armall ltt-disarmall \
   ltt-armnetsync ltt-disarmnetsync \
-  ltt-armalluser ltt-disarmalluser \
   ltt-armtap ltt-disarmtap
 CLEANFILES = $(bin_SCRIPTS)
 EXTRA_DIST = ltt-armall.sh ltt-disarmall.sh \
   ltt-armnetsync.sh ltt-disarmnetsync.sh \
-  ltt-armalluser.sh ltt-disarmalluser.sh \
   ltt-armtap.sh ltt-disarmtap.sh
 
 ltt-armall: ltt-armall.sh
@@ -49,18 +47,6 @@ ltt-disarmtap: ltt-disarmtap.sh
        cat $(srcdir)/ltt-disarmtap.sh >> ltt-disarmtap
        chmod ugo+x ltt-disarmtap
 
-ltt-armalluser: ltt-armalluser.sh
-       rm -f ltt-armalluser
-       echo "#!"$(BASH) > ltt-armalluser
-       cat $(srcdir)/ltt-armalluser.sh >> ltt-armalluser
-       chmod ugo+x ltt-armalluser
-
-ltt-disarmalluser: ltt-disarmalluser.sh
-       rm -f ltt-disarmalluser
-       echo "#!"$(BASH) > ltt-disarmalluser
-       cat $(srcdir)/ltt-disarmalluser.sh >> ltt-disarmalluser
-       chmod ugo+x ltt-disarmalluser
-
 lttctl_SOURCES = \
        lttctl.c
 lttctl_DEPENDENCIES = ../liblttctl/liblttctl.la
diff --git a/lttctl/ltt-armalluser.sh b/lttctl/ltt-armalluser.sh
deleted file mode 100755 (executable)
index 290e360..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#excluding core markers (already connected)
-#excluding locking markers (high traffic)
-
-echo Connecting all userspace markers of _CURRENTLY RUNNING_ processes only !
-echo All the markers listed here will also automatically be enabled if 
-echo present in a newly created process.
-
-for a in /proc/[0-9]*; do
-       for marker in `cat $a/markers | awk '{print $2}'`; do
-               echo Connecting marker $a:$marker
-               case $marker in 
-               *)
-                       CHANNEL=
-                       ;;
-               esac
-               echo "connect $marker default dynamic $CHANNEL" > /proc/ltt
-       done
-done
diff --git a/lttctl/ltt-disarmalluser.sh b/lttctl/ltt-disarmalluser.sh
deleted file mode 100755 (executable)
index 0d0f1eb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#excluding core markers (already connected)
-#excluding locking markers (high traffic)
-
-echo Disconnecting all userspace markers of _RUNNING PROCESSES_ only !
-
-for a in /proc/[0-9]*; do
-       for marker in `cat $a/markers | awk '{print $2}'`; do
-               echo Disonnecting marker $a:$marker
-               case $marker in 
-               *)
-                       CHANNEL=
-                       ;;
-               esac
-               echo "disconnect $marker default dynamic $CHANNEL" > /proc/ltt
-       done
-done
This page took 0.024435 seconds and 4 git commands to generate.