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
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
+++ /dev/null
-#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
+++ /dev/null
-#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