warning: trace_dump_sched_switch unused because add SCHED_INSTRUMENTATION_SWITCH
https://github.com/apache/incubator-nuttx/pull/4998 note dump: add CONFIG_SCHED_INSTRUMENTATION_SWITCH #4998
This commit is contained in:
parent
a2c8fa182a
commit
a63aef8f02
@ -308,6 +308,8 @@ static void trace_dump_header(FAR FILE *out,
|
||||
);
|
||||
}
|
||||
|
||||
#if (defined CONFIG_SCHED_INSTRUMENTATION_SWITCH) || \
|
||||
(defined CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER)
|
||||
/****************************************************************************
|
||||
* Name: trace_dump_sched_switch
|
||||
****************************************************************************/
|
||||
@ -339,6 +341,7 @@ static void trace_dump_sched_switch(FAR FILE *out,
|
||||
cctx->current_pid = cctx->next_pid;
|
||||
cctx->pendingswitch = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: trace_dump_one
|
||||
|
Loading…
Reference in New Issue
Block a user