source: tools/perf/process_halts.sh @ f2b18d01

arm-ehenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since f2b18d01 was f2b18d01, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

First version of tools to view halts

  • Property mode set to 100755
File size: 342 bytes
Line 
1#!/bin/bash -e
2
3DIR=$( dirname "${BASH_SOURCE[0]}")
4echo $DIR
5tmpfile=$(mktemp)
6function finish {
7  rm -rf "$tmpfile"
8}
9trap finish EXIT
10
11# split the wanted and unwanted output
12awk "/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
13
14# pass the data to the python scirpt
15$DIR/view_halts.py $tmpfile
Note: See TracBrowser for help on using the repository browser.