handy script for tracing ViewCVS's syscalls

git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@637 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
gstein 2003-03-11 20:35:23 +00:00
parent 690e7b6e8f
commit 14c0409e77
1 changed files with 8 additions and 0 deletions

8
cgi/viewcvs-strace.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
#
# Set this script up with something like:
#
# ScriptAlias /viewcvs-strace /home/gstein/src/viewcvs/cgi/viewcvs-strace.sh
#
thisdir="`dirname $0`"
exec strace -q -r -o /tmp/v-strace.log "${thisdir}/viewcvs.cgi"