From 56e07de38cf8a0439a8dcff62f7ea466c81680e9 Mon Sep 17 00:00:00 2001 From: pmf Date: Fri, 26 Sep 2008 16:22:36 +0000 Subject: [PATCH] masters-pmf: add scripts git-svn-id: http://ltt.polymtl.ca/svn@3069 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/masters-pmf/bin/start_trace | 2 ++ trunk/masters-pmf/bin/stop_trace | 1 + 2 files changed, 3 insertions(+) create mode 100755 trunk/masters-pmf/bin/start_trace create mode 100755 trunk/masters-pmf/bin/stop_trace diff --git a/trunk/masters-pmf/bin/start_trace b/trunk/masters-pmf/bin/start_trace new file mode 100755 index 00000000..1f878f18 --- /dev/null +++ b/trunk/masters-pmf/bin/start_trace @@ -0,0 +1,2 @@ +ltt-armall +exec /usr/local/bin/lttctl -l /mnt/debugfs/ltt -t /home/pmf/traces/$(hostname)-$(date +%Y%m%d%H%M%S) -n trace -m normal -d -N 1 diff --git a/trunk/masters-pmf/bin/stop_trace b/trunk/masters-pmf/bin/stop_trace new file mode 100755 index 00000000..f396fbbf --- /dev/null +++ b/trunk/masters-pmf/bin/stop_trace @@ -0,0 +1 @@ +exec /usr/local/bin/lttctl -n trace -R -- 2.34.1