before: Usage: trace <subcommand>... Subcommand: start [-c][<duration>] : Start task tracing stop : Stop task tracing dump [-a][-c][<filename>] : Output the trace result [-a] <Android SysTrace> mode [{+|-}{o|w|s|a|i|d}...] : Set task trace options switch [+|-] : Configure switch trace filter syscall [{+|-}<syscallname>...] : Configure syscall trace filter irq [{+|-}<irqnum>...] : Configure IRQ trace filter print [+|-] : Configure dump tnsh> after: Usage: trace <subcommand>... Subcommand: start [-c][<duration>] : Start task tracing stop : Stop task tracing cmd [-c] <command> [<args>...] : Get the trace while running <command> dump [-a][-c][<filename>] : Output the trace result [-a] <Android SysTrace> mode [{+|-}{o|w|s|a|i|d}...] : Set task trace options switch [+|-] : Configure switch trace filter syscall [{+|-}<syscallname>...] : Configure syscall trace filter irq [{+|-}<irqnum>...] : Configure IRQ trace filter print [+|-] : Configure dump trace filter Signed-off-by: chao.an <anchao@xiaomi.com>
System / trace
Task Tracer
See https://nuttx.apache.org/docs/latest/guides/tasktraceuser.html