From: Mathieu Desnoyers Date: Wed, 18 Nov 2009 15:48:17 +0000 (-0500) Subject: Remove old userspace support X-Git-Tag: 0.80~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=72e89fb698f09b2489b76300f83a17c157bf662c;p=ltt-control.git Remove old userspace support 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 Cc: Pierre-Marc Fournier Signed-off-by: Mathieu Desnoyers --- diff --git a/lttctl/Makefile.am b/lttctl/Makefile.am index 6c3d063..f86f118 100644 --- a/lttctl/Makefile.am +++ b/lttctl/Makefile.am @@ -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 index 290e360..0000000 --- a/lttctl/ltt-armalluser.sh +++ /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 index 0d0f1eb..0000000 --- a/lttctl/ltt-disarmalluser.sh +++ /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