update sample scripts according new trace block syntax

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>