Set stkmon_started=FALSE in error case
authorpradeep.ns <pradeep.ns@samsung.com>
Fri, 2 Jun 2017 07:47:11 +0000 (13:17 +0530)
committerpradeep.ns <pradeep.ns@samsung.com>
Fri, 2 Jun 2017 07:47:11 +0000 (13:17 +0530)
commit956629c5a9f32dbfeca1d03e87bc753fda3d3456
tree5a880a8c4f1cf1fa17337b8e8ce98c14ebf1645a
parent098b2d609e43b7196f2826d421b8101a51b0533f
Set stkmon_started=FALSE in error case

pthread_cancel kills the thread and stkmon logging will be stopped immediately.
hence set the variable stkmon_started to FALSE so that user can re-attempt
command "stkmon" from tash

Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
apps/system/utils/kdbg_stackmonitor.c