tracing: roll thread switch in/out into thread stats functions
Since the tracing of thread being switched in/out has the same instrumentation points, we can roll the tracing function calls into the one for thread stats gathering functions. This avoids duplicating code to call another function. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
fc577c4bd1
commit
11e6b43090
17 changed files with 85 additions and 56 deletions
|
@ -10,6 +10,7 @@ config TRACING
|
|||
imply THREAD_NAME
|
||||
imply THREAD_STACK_INFO
|
||||
imply THREAD_MONITOR
|
||||
select INSTRUMENT_THREAD_SWITCHING
|
||||
help
|
||||
Enable system tracing. This requires a backend such as SEGGER
|
||||
Systemview to be enabled as well.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue