mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
arch: Dump task name through tcb_s::name instead of argv[0]
since argv is defined in task_tcb_s not tcb_s Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
61647475ad
commit
b65c7c26cf
@@ -71,7 +71,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]);
|
sinfo(" TCB=%p name=%s\n", tcb, tcb->name);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ static void _up_dumponexit(struct tcb_s *tcb, void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ static void _xtensa_dumponexit(struct tcb_s *tcb, void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid);
|
sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ static void _z16_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]);
|
sinfo(" TCB=%p name=%s\n", tcb, tcb->name);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg)
|
|||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]);
|
sinfo(" TCB=%p name=%s\n", tcb, tcb->name);
|
||||||
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state);
|
||||||
|
|
||||||
filelist = tcb->group->tg_filelist;
|
filelist = tcb->group->tg_filelist;
|
||||||
|
|||||||
Reference in New Issue
Block a user