tracing: Add user-definable tracing interface
Create a new tracing option TRACING_USER that allows the user to define certain user_sys_trace_... functions to perform whatever work desired for tracing when tasks are swiched in/out, during isr enter/exit, and when cpu is idle. This infrastructure can be useful for plugging into locally defined tracing tools or any user-specific debugging environment. Signed-off-by: Nicholas Lowell <nlowell@lexmark.com>
This commit is contained in:
parent
27ac1cb012
commit
cc8ab95760
7 changed files with 406 additions and 1 deletions
|
@ -17,6 +17,9 @@
|
|||
#elif defined CONFIG_TRACING_TEST
|
||||
#include "tracing_test.h"
|
||||
|
||||
#elif defined CONFIG_TRACING_USER
|
||||
#include "tracing_user.h"
|
||||
|
||||
#else
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue