[FIX] stop message handling in us_manager 59/46859/5
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Wed, 26 Aug 2015 12:11:50 +0000 (15:11 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Fri, 28 Aug 2015 06:38:35 +0000 (23:38 -0700)
commite980252321e347720aee938fa35331d899eb5c53
tree851a82be7d0ccfbae6aa2fe9a555bfe85552f862
parente7cb5490d6d7dd5fd263704ce6f3245b42f42d36
[FIX] stop message handling in us_manager

stop_machine is now used only to acquire references to all the
instrumented tasks. In such way we assure that they are not going
to be dropped during SWAP cleanup code execution.

Also a special callback STOP_CB_TD was added for task_data since it
may need to cleanup in stop_machine.

Change-Id: I4ea67092e1f0a006c908392e41ae511b9fff5b6d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
task_data/task_data.c
us_manager/callbacks.h
us_manager/pf/pf_group.c
us_manager/pf/pf_group.h
us_manager/sspt/sspt_proc.c
us_manager/sspt/sspt_proc.h
us_manager/us_manager.c