script for ftrace