add sample code of implement strace