Added support for running through the "perf" tool.

git-svn-id: http://yate.null.ro/svn/yate/trunk@6356 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2019-08-08 11:38:03 +00:00
parent 0f301d3a76
commit 4591d9e93a
1 changed files with 5 additions and 0 deletions

5
run.in
View File

@ -57,6 +57,11 @@ if [ "$1" = "--backtrace" ]; then
set_mods=""
exec </dev/null 2>&1
fi
if [ "$1" = "--perf" ]; then
shift
yate="perf $1 $yate"
shift
fi
if [ "$1" = "--valgrind" ]; then
shift
yate="valgrind $1 $yate"