tracing: Fix ftrace_dump()

Change-Id: I60963e7b0971e26e44172f7e70771c7758f2d178