Getting run-time information of stack usage by Tasks

Hello all,

I want to know whether i can use 'void* stk' from 'os_tsk_create_user_ex()' function call to get the runtime stack utilization? I want to print the real time utilization of stack for each task through serial terminal.

Note:
1. I already know the way to get run time utilization using Keil simulator in debug mode.
2. I also know that pointer to TCB is allocated dynamically.

More questions in this forum