view scripts/view_log.sh @ 1996:9657434c21a4 draft

change memory allocate function malloc() to manager->allocate in my_read
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 18:49:21 +0900
parents 9b0908cb7553
children
line wrap: on
line source

#!/bin/bash
if [ $# -ne 1 ]; then
    echo "usage: ./view_log.sh target"
    exit 1
fi
ruby ./log.rb $1 > /tmp/log.dot
dot -Tsvg /tmp/log.dot > /tmp/log.svg; open /tmp/log.svg