-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake_trace.sh
More file actions
executable file
·34 lines (31 loc) · 1.09 KB
/
Copy pathmake_trace.sh
File metadata and controls
executable file
·34 lines (31 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# app=loop
cd tracer
./make_tracer.sh
cd ..
# pin -t tracer/obj-intel64/mpr_tracer.so -- test-cases/${app} <test-cases/${app}.in ${app}.trace
# xz ${app}.trace
apps=()
apps+=("loop")
# apps+=("loop2")
# apps+=("indirect")
# apps+=("502.gcc_r")
# apps+=("505.mcf_r")
# apps+=("520.omnetpp_r")
# apps+=("605.mcf_s")
trace_path=/home/lixiang/mem-pattern-recognition/trace
# trace_path=/mnt/centos00-home/lixiang/trace
for app in "${apps[@]}"
do
echo $app
cd /home/lixiang/mem-pattern-recognition/test-cases/${app}
date +"%T.%N"
./run_pin.sh
# pin -t /home/lixiang/mem-pattern-recognition/tracer/obj-intel64/mpr_tracer_v3.so -o ${trace_path}/${app}.trace -- ./run.sh 2>${trace_path}/err_${app}.txt
date +"%T.%N"
cd ${trace_path}
# gzip ${app}.trace -f
done
# cd /home/lixiang/mem-pattern-recognition/test-cases/520.omnetpp_r
# ls -lh
# pin -t /home/lixiang/mem-pattern-recognition/tracer/obj-intel64/mpr_tracer.so -- ./omnetpp_r_base.mytest-m64 -c General -r 0 > omnetpp.General-0.out 2>> omnetpp.General-0.err /home/lixiang/mem-pattern-recognition/trace/520.omnetpp_r.trace