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