sched_note:Allow for external endpoints
This commit is contained in:
parent
55b48b14eb
commit
80405e15dd
|
@ -916,6 +916,12 @@ config SCHED_INSTRUMENTATION
|
|||
|
||||
if SCHED_INSTRUMENTATION
|
||||
|
||||
config SCHED_INSTRUMENTATION_EXTENAL
|
||||
bool "System performance monitor endpoints are external"
|
||||
default n
|
||||
---help---
|
||||
Monitor only CPUs in the bitset. Bit 0=CPU0, Bit1=CPU1, etc.
|
||||
|
||||
config SCHED_INSTRUMENTATION_CPUSET
|
||||
hex "CPU bit set"
|
||||
default 0xffff
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
#include "sched/sched.h"
|
||||
|
||||
#if !defined(CONFIG_SCHED_INSTRUMENTATION_EXTENAL)
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
****************************************************************************/
|
||||
|
@ -610,3 +611,4 @@ void sched_note_irqhandler(int irq, FAR void *handler, bool enter)
|
|||
note_add((FAR const uint8_t *)¬e, sizeof(struct note_irqhandler_s));
|
||||
}
|
||||
#endif
|
||||
#endif /* CONFIG_SCHED_INSTRUMENTATION_EXTENAL */
|
||||
|
|
Loading…
Reference in New Issue