BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
24e45f6
Branches
Tags
master
uproctrace
tests
first
first.bash
call trace file <trace.upt> in upt-trace and upt-tool
Stefan Schuermans
commited
24e45f6
at 2020-07-28 19:32:14
first.bash
Blame
History
Raw
#! /bin/bash set -eux -o pipefail if (( $# < 1 )) then echo "usage: $0 <UPT_HOME>" >&2 exit 2 fi UPT_HOME="$1" SCRIPT_DIR="$(dirname "$0")" source "$UPT_HOME/exports" rm -rf trace.upt upt-trace trace.upt "$SCRIPT_DIR/traceme.bash" ls -l trace.upt upt-tool trace.upt dump | tee out.dump grep '^ *event *{ *$' out.dump | wc -l | tee out.event_cnt grep '^6$' out.event_cnt upt-tool trace.upt pstree