Skip to content

Commit

Permalink
autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
stacktrack committed Apr 28, 2016
1 parent ee85b6d commit 24c77c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
16 changes: 0 additions & 16 deletions src/gdbcmds

This file was deleted.

6 changes: 3 additions & 3 deletions src/trace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ set -x
SYSCALL=$1 # The syscall to be traced
VM=192.168.122.10 # IP address of our slave
SHARE=/mnt/t # Share mounted on same location on master and slave
TIMEOUT=1500
SNAPSHOT="tvm-0"
TIMEOUT=1500 # Timeout to kill execution trace (master gdb session)
SNAPSHOT="tvm-0" # Slave snapshot id

if [[ -z $SYSCALL ]]
then
Expand All @@ -50,7 +50,7 @@ GDBCMDS_MASTER=$(mktemp)
GDBCMDS_SLAVE=$SHARE/gdbcmds-slave

# Create master and slave gdb command files for the syscall being traced
try sed -e "s/_SYSCALL_/sys_$SYSCALL/g" gdbcmds > $GDBCMDS_MASTER
try sed -e "s/_SYSCALL_/sys_$SYSCALL/g" gdbcmds-master > $GDBCMDS_MASTER
try sed -e "s/_SYSCALL_/$SYSCALL/g" gdbcmds-slave > $GDBCMDS_SLAVE

#
Expand Down

0 comments on commit 24c77c9

Please sign in to comment.