Tracing: k_free tracing hook heap reference added
Added heap reference parameter to k_free tracing hook to allow tracing of the pointer which was passed as a parameter to a k_free call. As part of this update the defines (for this hook) in the various tracing formats was also updated. Signed-off-by: Torbjörn Leksell <torbjorn.leksell@percepio.com>
This commit is contained in:
parent
b4bcffb4de
commit
86d8b36955
7 changed files with 20 additions and 16 deletions
|
@ -1731,14 +1731,16 @@ void sys_trace_idle(void);
|
|||
/**
|
||||
* @brief Trace System Heap free entry
|
||||
* @param heap Heap object
|
||||
* @param heap_ref Heap reference
|
||||
*/
|
||||
#define sys_port_trace_k_heap_sys_k_free_enter(heap)
|
||||
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
|
||||
|
||||
/**
|
||||
* @brief Trace System Heap free exit
|
||||
* @param heap Heap object
|
||||
* @param heap_ref Heap reference
|
||||
*/
|
||||
#define sys_port_trace_k_heap_sys_k_free_exit(heap)
|
||||
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
|
||||
|
||||
/**
|
||||
* @brief Trace System heap calloc enter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue