sh: Add ftrace syscall tracing support