mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-07 09:16:32 +00:00
system/trace: correct preamble header pid
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
90484a33e9
commit
7612d2aea8
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ static void trace_dump_header(FAR FILE *out,
|
|||
int cpu = 0;
|
||||
#endif
|
||||
|
||||
pid = ctx->cpu[cpu].current_pid;
|
||||
trace_dump_unflatten(&pid, note->nc_pid, sizeof(pid));
|
||||
|
||||
fprintf(out, "%8s-%-3u [%d] %3" PRIu32 ".%09" PRIu32 ": ",
|
||||
get_task_name(pid, ctx), get_pid(pid), cpu,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue