aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xst_trace5
1 files changed, 4 insertions, 1 deletions
diff --git a/st_trace b/st_trace
index 7855fe4..65055fe 100755
--- a/st_trace
+++ b/st_trace
@@ -1,5 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2 2
3FTCAT=ftcat
4DEVICE=/home/litmus/log
5
3# Setup up sched_trace tracing. 6# Setup up sched_trace tracing.
4 7
5# works for sparc64/x86 if no CPU is offline 8# works for sparc64/x86 if no CPU is offline
@@ -12,7 +15,7 @@ TAG=$1
12for x in `seq 0 $(($NUM_CPUS - 1))` 15for x in `seq 0 $(($NUM_CPUS - 1))`
13do 16do
14 echo -n "CPU $x: " 17 echo -n "CPU $x: "
15 ftcat /home/litmus/log$x $ST_IDS > st${TAG}${x}.bin & 18 $FTCAT "$DEVICE$x" $ST_IDS > st${TAG}${x}.bin &
16 echo $! "[$?]" 19 echo $! "[$?]"
17done 20done
18 21