BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
ab75c2f
Branches
Tags
master
uproctrace
upt-trace
upt-trace.bash
align file location in build dir with install dir
Stefan Schuermans
commited
ab75c2f
at 2020-07-31 18:03:55
upt-trace.bash
Blame
History
Raw
#! /bin/bash if (( $# < 2 )) then echo "usage: $0 <trace.upt> <command> [<arg> [...]]" >&2 exit 2 fi TRACE_FILE="$1" shift UPT_HOME="$(readlink -f "$(dirname "$(dirname "$0")")")" touch "$TRACE_FILE" export UPTPL_OUTPUT="$(readlink -f "$TRACE_FILE")" export LD_PRELOAD="$UPT_HOME/lib/uproctrace/libuptpl.so" exec "$@"