Tracing: Added missing k_thread_heap_assign trace hook

Added missing k_thread_heap_assign trace hook call
which all trace systems have defined but which was
never called by the system.

Signed-off-by: Torbjörn Leksell <torbjorn.leksell@percepio.com>
This commit is contained in:
Torbjörn Leksell 2021-11-05 07:33:35 +01:00 committed by Anas Nashif
commit 861f2a741f
2 changed files with 8 additions and 0 deletions

View file

@ -359,6 +359,7 @@ static inline void k_thread_heap_assign(struct k_thread *thread,
struct k_heap *heap)
{
thread->resource_pool = heap;
SYS_PORT_TRACING_FUNC(k_thread, heap_assign, thread, heap);
}
#if defined(CONFIG_INIT_STACKS) && defined(CONFIG_THREAD_STACK_INFO)