From 72e89fb698f09b2489b76300f83a17c157bf662c Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 18 Nov 2009 10:48:17 -0500 Subject: [PATCH] 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 --- lttctl/Makefile.am | 14 -------------- lttctl/ltt-armalluser.sh | 18 ------------------ lttctl/ltt-disarmalluser.sh | 16 ---------------- 3 files changed, 48 deletions(-) delete mode 100755 lttctl/ltt-armalluser.sh delete mode 100755 lttctl/ltt-disarmalluser.sh 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 -- 2.34.1